cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How do I get the sketch section entity from a selected curve end using ProSelect

jmills
1-Newbie

How do I get the sketch section entity from a selected curve end using ProSelect

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1
FV
17-Peridot
17-Peridot
(To:jmills)

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.

Top Tags