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.
Access to sketch elements
Andrew_74
Member Posts: 4 ✭✭
I'm probably missing something, but it seems to be unnecessarily difficult to access newly created sketch elements.
I want to create a sketch containing two lines and then extrude one of the lines depending on other conditions.
The extrude requires a query as input, but I can't find a query that will return an element with a specific name from a sketch.
I want to create a sketch containing two lines and then extrude one of the lines depending on other conditions.
The extrude requires a query as input, but I can't find a query that will return an element with a specific name from a sketch.
0
Comments
HOWEVER, in practice, this works well for sketch edges and points, but not for sketch regions. Regions, unlike edges, don't have convenient ids (imagine 3 rectangles creating up to 7 regions... how would you identify them?).
So, I think most of the time, FS best practice is to use multiple sketches, so that a downstream feature (like extrude) can simply use a full sketch without worrying about the details.