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.

use variable in assembly


I've been trying to use variable in assembly, but I'm not successful.
Who knows how can use a variable from part in the assembly?

Thank you

Best Answer


  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Sorry variables only extend to PartStudios today.

    To what end do you wish to use them?  There may be another approach.


    Owen S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • mohammad_hajimohammad_haji Member Posts: 7
    To use in unpaired or not direct related to or more parts in 2 different assemblies.
    For example, relation between a cylinder bore to a lever in assembly. one number using for a 2 different type of calculation. Force & length. 
  • mohammad_hajimohammad_haji Member Posts: 7
    Why ca not use a variable number like this:
    #[email protected] ?
  • jim_sungjim_sung Member Posts: 1
    I'm modeling a dining table.  I have a parametric variable called "reveal" that is used by other parametric variables that in turn constrain various parts, so it is needed in the Part Studio.  However, I also need the parameter in Assembly ("offset" in "Fastened mate"), but as pointed out by @owen_sparks, parametric variables are not visible in Assembly.

    I look at configuration variables, but I don't think it is applicable to my use case.

Sign In or Register to comment.