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.
How to have a Sketch as a parameter
nir_naron
Member Posts: 26 EDU
I’m not sure I’m getting the terminology correctly, but when I’m saying parameter I’m referring to the light-blue input boxes that are in the feature-menu that pops up when creating a new feature.
Say, in a Part Studio, I creat a new Extrude feature. I can either manually select entities to extrude (with my cursor), or I can click a sketch in the feature-tree, and the sketch’s faces get extruded.
Say, in a Part Studio, I creat a new Extrude feature. I can either manually select entities to extrude (with my cursor), or I can click a sketch in the feature-tree, and the sketch’s faces get extruded.
How can I set up a new parameter, in my own feature (using FeatureScript), to accept an entire sketch?
0
Answers
definition.entities is Query;
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴