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.

How to make a Hole Feature involving variable & formula?

amir_sarigamir_sarig Member Posts: 2
edited January 4 in Community Support
Hello,
I wonder if it is possible to give a hole a diameter dimention driven by a variable. 
The feature accepts the statement " #ShaftD " (variable) alone, but it rejects any formula with it.

The idea is to keep the information about the nominal shaft diameter, and choose how much clearance I want.



Thanks!

Answers

  • michael_mcclainmichael_mcclain Member Posts: 158 PRO
    Add units to the 0.2 value or it can't determine whether it's in or mm. When in doubt, manually add in the unit to the value and the formula should work
  • amir_sarigamir_sarig Member Posts: 2
    Add units to the 0.2 value or it can't determine whether it's in or mm. When in doubt, manually add in the unit to the value and the formula should work
    Works!
    Thanks :)
Sign In or Register to comment.