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.

Options

1in/2.5in=0.4mm

ProApeProApe Member Posts: 52
Hello,
I am working in mm
I have defined 2 variables: I enter: 
#width: 1in, will be converted to mm: 25.4mm
#devider: 2.5in, is converted to mm: 63.5mm
If I then define the length of a line: #width/#devider, I get 0.4mm instead of 0.4in converted to mm!
What am I doing wrong?
Kind regards

Comments

  • Options
    NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,402
    Dividing inches by inches results in no units at all so it is 0.4 x your units (mm). Therefore divide the two values and multiply by the units you want (#width/#devider) * inch
    Senior Director, Technical Services, EMEAI
  • Options
    ProApeProApe Member Posts: 52
    ok, thank you!
Sign In or Register to comment.