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.

Sketch : How to link dimension from other dimension ?

shiba_8roshiba_8ro Member Posts: 4
edited March 14 in Community Support
Hi, 
My 1st technical question.

Please see below image.
How to link with other dimensions when inputting new dimension?
Is there a Variable list somewhere, should I refer to it?



Thanks first,
Tagged:

Best Answers

  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,128 ✭✭✭✭✭
    Accepted Answer
    From recent times you can create variable from the input fields of features and sketch dimensions. Type "#" symbol and in the bottom of the list you will see an option to create new variable and insert it in the current input field with desired value thus you can  assign diam 9 of the circle on top to variable, and later use this variable in the dimension of the bottom circle
  • GlenDGlenD Member, OS Professional Posts: 240 PRO
    Accepted Answer
    You can also use the equal constraint to make objects the same size within a sketch. You can use the equal constraint from sketch to sketch so long as the working plane is the same or parallel. 
  • dirk_van_der_vaartdirk_van_der_vaart Member Posts: 107 ✭✭✭
    Accepted Answer
  • Eric_PercyEric_Percy Member Posts: 1 PRO
    Accepted Answer
    Shiba,
    I really hope that you get an answer for this as it is one of the things that I miss the most from Inventor. The ability to have a dimension drive another dimension/2 (for example) is something that I used in every drawing.
  • tim_hess427tim_hess427 Member Posts: 514 PRO
    Accepted Answer
    @Eric_Percy - As mentioned previously, there isn't a native way to reference other dimensions, but you can easily create variables that can be referenced by your dimensions. (I think there is an improvement request for something like this, maybe called "addressable dimensions" that you can vote on). 

    Right now, you can get the same affect by using variables. So, you could create a variable called #d1 which is equal to 10mm. Then, you can use #d1 inside formulas for dimensions, such as #d1*2. The variables can be updated at any time and anything referencing those variables will update as well. 

Answers

  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,128 ✭✭✭✭✭
    Accepted Answer
    From recent times you can create variable from the input fields of features and sketch dimensions. Type "#" symbol and in the bottom of the list you will see an option to create new variable and insert it in the current input field with desired value thus you can  assign diam 9 of the circle on top to variable, and later use this variable in the dimension of the bottom circle
  • GlenDGlenD Member, OS Professional Posts: 240 PRO
    Accepted Answer
    You can also use the equal constraint to make objects the same size within a sketch. You can use the equal constraint from sketch to sketch so long as the working plane is the same or parallel. 
  • dirk_van_der_vaartdirk_van_der_vaart Member Posts: 107 ✭✭✭
    Accepted Answer
  • shiba_8roshiba_8ro Member Posts: 4
    konstantin_shiriazdanov said:
    From recent times you can create variable from the input fields of features and sketch dimensions. Type "#" symbol and in the bottom of the list you will see an option to create new variable and insert it in the current input field with desired value thus you can  assign diam 9 of the circle on top to variable, and later use this variable in the dimension of the bottom circle
    Thank you for very quickly reply.
    I checked using "#" symbol in sketch dimension, this is nice shortcut! 
    It is be close what I want to do.



    Fisher said:
    You can also use the equal constraint to make objects the same size within a sketch. You can use the equal constraint from sketch to sketch so long as the working plane is the same or parallel. 
    Thank you for reply.
    Sorry, the example I presented was not good.
    What I want to do is like below GIF.
    Like Autodesk Inventor, I want to calculate and use other linked dimensions. If dimensions of link source change, dimension of link destination will be changed automatically.


  • Eric_PercyEric_Percy Member Posts: 1 PRO
    Accepted Answer
    Shiba,
    I really hope that you get an answer for this as it is one of the things that I miss the most from Inventor. The ability to have a dimension drive another dimension/2 (for example) is something that I used in every drawing.
  • tim_hess427tim_hess427 Member Posts: 514 PRO
    Accepted Answer
    @Eric_Percy - As mentioned previously, there isn't a native way to reference other dimensions, but you can easily create variables that can be referenced by your dimensions. (I think there is an improvement request for something like this, maybe called "addressable dimensions" that you can vote on). 

    Right now, you can get the same affect by using variables. So, you could create a variable called #d1 which is equal to 10mm. Then, you can use #d1 inside formulas for dimensions, such as #d1*2. The variables can be updated at any time and anything referencing those variables will update as well. 
Sign In or Register to comment.