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 create parametric dimensions?

3dcad3dcad Member, OS Professional, Mentor Posts: 2,466 PRO
edited March 2015 in Using Onshape
I come from Alibre / Geomagic Design which collects each given dimension into parameter list. Parameter list is accessible when adding new dimensions so it's easy to create parametric designs without even thinking through what parameters/variables are you going to use. I couldn't think of better way to handle parameters.

Is there a way to access given dimensions in OS? How do you create parametric designs?
For example, I wan't to create hole with same diameter to sketch 2 as I made to sketch 1 (and it should follow changes too). Then I wan't dimension from egde to be [dimension from sketch1]+64. Then I wan't pattern with step 32mm as many as fit's to the extrude (follow changes on the size of extrude). Is this currently possible?
//rami

Best Answers

  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,466 PRO
    Answer ✓
    How is this made in solid works? I think Alibre got it right with automatically creating a variable of each given dimension, count or such and you can later rename or create new parameters and equations are supported of course.. Some cads need to first create a variable and then you can use it as dimension - I'm way too busy/lazy to pre-think names and values for variables before modeling..

    And if parametric dimensions are still in todo list, I hope the framework is Global Parameters from the beginning.. Meaning that parameters can be accessed from different part studios, assemblies, documents, users, world and the universe!  
    //rami

Answers

  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,466 PRO
    Answer ✓
    How is this made in solid works? I think Alibre got it right with automatically creating a variable of each given dimension, count or such and you can later rename or create new parameters and equations are supported of course.. Some cads need to first create a variable and then you can use it as dimension - I'm way too busy/lazy to pre-think names and values for variables before modeling..

    And if parametric dimensions are still in todo list, I hope the framework is Global Parameters from the beginning.. Meaning that parameters can be accessed from different part studios, assemblies, documents, users, world and the universe!  
    //rami
  • james_mcpherson11762james_mcpherson11762 Member Posts: 26 ✭✭
    edited March 2015
    I too would really like to be able to reference previous dimensions while creating a new one. I come from Alibre and really miss being able to dimension a line by saying it's "D1/2" in english: "Half the value of D1" where D1 is an existing dimension in the sketch.

    -Jim
  • jakeramsleyjakeramsley Member, Moderator, Onshape Employees, Developers Posts: 642
    We currently don't have a way to link dimensions with equations yet.  The method that James_McPherson11762 described is what I am most used to as I originally learned CAD via Unigraphics NX.  It seems natural to me that we shouldn't have to define a variable to simply reference a dimension; that is adding redundancy and an extra barrier between the creative process and the implementation.
    Jake Ramsley

    Director of Quality Engineering & Release Manager              onshape.com
  • paul_brittonpaul_britton Member Posts: 36 ✭✭
    +1 for the ability to reference existing dimensions, or define dimensions as variables that can be pulled from a table or spreadsheet.
  • andrew_troupandrew_troup Member, Mentor Posts: 1,584 ✭✭✭✭
    3dcad said:
    How is this made in solid works? I think Alibre got it right with automatically creating a variable of each given dimension, count or such and you can later rename or create new parameters and equations are supported of course....
    Belatedly: SW achieves the result you describe. Dimensions are automatically named, "[email protected]" and so forth. A click on a dimension, at the appropriate time, enters that name into a design table or an equation. The dimension name can be upgraded, whenever the user wishes, to something more meaningful.
  • DanRom624DanRom624 Member Posts: 5 ✭✭
    I too would really like to be able to reference previous dimensions while creating a new one. I come from Alibre and really miss being able to dimension a line by saying it's "D1/2" in english: "Half the value of D1" where D1 is an existing dimension in the sketch.

    -Jim
    Are there any updates on this issue? I have the same problem that has been described brilliantly by james_mcpherson11762.
    I see that this thread is dated mid-2015. We are almost mid-2017, and given the speed OnShape is developing, I was wondering if meanwhile there is a way for creating parametric dimensions.
    If there is none, just a "no" reply will help. At least i will stop searching...
    Many thanks
  • noanoa Onshape Employees, Developers Posts: 141
    @DanRom624 we do not yet support the ability to directly reference dimensions. The best you can do today is create a variable before the sketch and reference that variable in your dimension. You can then reference that variable again later and it will have a similar effect. To count your vote towards this improvement, please vote on the improvement request here: https://forum.onshape.com/discussion/6315/using-a-derived-dimension-to-set-the-value-of-a-variable
    Noa Flaherty / Customer Success / Onshape Inc.
Sign In or Register to comment.