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.

Passing a variable from Part Studio A to Part Studio B

HuguesLessardWRIHuguesLessardWRI Member Posts: 14 PRO
Hi,
I am wondering if there was a way to pass a variable from a Part Studio to another one in the same document, at least passing only its value... I would expect that a Derive would work, but nope.

P.S. Variable can have a few different meanings in Onshape, The one I am questionning here is the one that appears as an (x) in toolbar / the feature tree.

Thanks in advance for your help,
Greetings,
Hugues Lessard
Ingénieur de produits / Product Engineer
Waste Robotics Inc. / www.wasterobotic.com

Tagged:

Best Answer

  • Alex_KempenAlex_Kempen Member Posts: 93 EDU
    Accepted Answer
    My variable library FeatureScript should work pretty well for things like this, especially if you don't feel like dabbling with FeatureScript. Declare your variables in the variable library UI, then import the corresponding cube into your other part studio (using another instance of the variable library feature).

    Ilya Baran's Super Derive FeatureScript also has an option to bring in variables when you use it to derive something from another part studio, so that might also work reasonably well for you.

Answers

  • Alex_KempenAlex_Kempen Member Posts: 93 EDU
    Accepted Answer
    My variable library FeatureScript should work pretty well for things like this, especially if you don't feel like dabbling with FeatureScript. Declare your variables in the variable library UI, then import the corresponding cube into your other part studio (using another instance of the variable library feature).

    Ilya Baran's Super Derive FeatureScript also has an option to bring in variables when you use it to derive something from another part studio, so that might also work reasonably well for you.
  • HuguesLessardWRIHuguesLessardWRI Member Posts: 14 PRO
    Thanks @Alex_Kempen, that was exactly what I was looking for.
    Hugues Lessard
    Ingénieur de produits / Product Engineer
    Waste Robotics Inc. / www.wasterobotic.com

  • matthew_stacymatthew_stacy Member Posts: 270 PRO
    @Alex_Kempen, I haven't tried Super Derive but checked out your Variable Library FS.  That is extremely useful.  Thanks for the tip.
Sign In or Register to comment.