Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Quering relevant sketch vertices
konstantin_shiriazdanov
Member Posts: 1,221 ✭✭✭✭✭
I have an original sketch, with some dimentions refferencing to variable. My feature takes this sketch as FeatureList and i apply identityTransform to this sketch in a loop varying value of the variable, so i'm obtaining a family of sketch bodies, among which I need to select only the sequence of the vertices, which are obtained from the selected vertex of the original sketch. So the question is how to get queries of sketch entities, that are derived from user-defined sketch using FeatureList, without knowing internal sketch id's of the entity in original sketch (or how to get internal sketch id of the entity from user defined sketch)
0
Comments
In your case, I think the workflow of creating a single point body in the sketch (as you've done already) is the best workaround available. To make that interface clear, I imagine your feature could reportFeatureInfo(... "Selected sketch must have a single sketch point defined") if you get zero or 2+ points in the sketch.