Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I'm letting a user select a datum curve end using ProSelect with option 'curve_end'. Doing this, I'm returned the curve end (or curve start) of the curve. From here I can get the ProCurve it is part of, and the feature it is part of, even to the sketch in the feature it is part of. My dilemma is this: How do I determine which sketch section entity and even which endpoint of this sketch section entity was selected?
Thanks.
Hello all,
Jason,
To my knowledge,this functionality was missing for a long time unless you are dealing with the projected section entities. For lines, arcs and circlesmy work around is to map geometry of the selected curves to a section space,collect all section geometry and find a match. Another trick is to build a sortedid's array of all ProGeomitems belonging to the sketched curve feature and get a sortedid's array of all geometric entities of the section.You should see one-to-onedependency based on the array index.I don't think this is officiallysupported.
HIH.
Feliks.
In Reply to Jason Mills:
I'm letting a user select a datum curve end using ProSelect with option 'curve_end'. Doing this, I'm returned the curve end (or curve start) of the curve. From here I can get the ProCurve it is part of, and the feature it is part of, even to the sketch in the feature it is part of. My dilemma is this: How do I determine which sketch section entity and even which endpoint of this sketch section entity was selected?
Thanks.