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.
Can you define an area field in the Feature definition
christopher_dziuba
Member Posts: 121 ✭✭✭
For some reason we have the "AreaBoundSpec" but no ability to implement it the same way as a length paramater in a feature definition. Am I missing something??
Tagged:
0
Answers
Even with isArea?
Currently not supported.
Your options are either to use a "real" number with assumed units. In your feature you just add the units, and tell the user to give a value in the specific units (like m^2). Or second option, you use an "is anything" type parameter and validate the input in the feature.
For internally used features I usually go with the first option since everyone at a company typically uses the same units, and it lets you specify a range.
Experts in Onshape Automation - Custom Features and Integrated Applications