Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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_dziubachristopher_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:

Answers

  • joshtargojoshtargo Member Posts: 560 EDU

    Even with isArea?

  • Caden_ArmstrongCaden_Armstrong Member Posts: 443 PRO

    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.



    www.smartbenchsoftware.com --- Renaissance --- fs.place
    Experts in Onshape Automation - Custom Features and Integrated Applications
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.