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.
Selecting Derived Sketch
papawo
Member, Developers Posts: 206 PRO
can somebody explain me , how to achieved this. I have sample code that I can use but I want to know the basic.
Tagged:
0
Comments
Example document:
https://cad.onshape.com/documents/de90c930e40cf8bcf4a5fb07/w/754c83eb6f9cb3ab6b29f73b/e/6437c056f266e6142585dc0b
why do it needs to have export before function?
why is the debug shows resolves bodies?
When using this in your code, you should remove the debug() line of code, and use the variable "entities" wherever you would have previously used "definition.profile". If "entities" is not a good variable name for your feature, you can replace it with a better one. After renaming, the old definition.profile input can be entirely removed from the precondition.
In short: Bodies can be 3D, 2D, 1D, even 0D. Sketches create both 1D wire bodies (sketch edges) and 2D sheet bodies (sketch regions).