Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
variables
Discussion List
-
Refer to Variables in Another Part Studio?
If I am in Part Studio 2, is there a way to refer to a variable in Part Studio 1? If so, what is the syntax? If not, is this planned?
-
Help Making Configurable Tube
I regularly rely on configurable parts to make changes in higher level assemblies without breaking mates. I have configured many parts and generally understand how to do so. However, I am struggling to figure out what the best architecture would be for creating a configurable tube. The properties that need to be configured…
-
Global measured variables?
The only things I see myself using measured variables for are belt/chain length calculations and setting limits in assemblies. The former has a separate improvement request, but the latter doesn't seem as though it can be done. My question is; is there any way to make a measured variable into a global variable? This…
-
Feature Scripts: One large script, or Several small scripts for variables across multiple documents
I'm using scripts to make variables for every aspect of a huge project (Over 2000 variables and counting). I'm wondering if there's any performance difference between having all of these organized into 3-4 script files or 20+ script files? Some background: I'm designing a large structure that I've been working on for 4…
-
Feature Script
Hello! I'm looking for any feature script which can give me back the name of the version where I'm working in. The reason for this is the following one: I want to assign a customize part propertie where the part number contain the version name, so I need to achive the document version to add in a variable. Thanks!
-
Is it possible to have driven variables?
Is it possible to have a variable that is only driven by a dimension, for example in the polygon sketch entity it doesnt appear to be possible to make the number of sides driven by a variable, is there a way to make a variable be driven by the number of sides instead? This isn't a use case I'm considering, more of a way to…
-
Referencing a Configuration Cell Value in Another Cell
I am looking to use a cell value from my configuration table to drive other formulas within my configuration cells [in an assembly]. This would be similar to how formulas in excel our built for instance if I am using a value in A1 cell to calculate a value in B1 ie (B1 = A1 +2). I am not looking to use my #variable input…
-
Can Custom Feature Scripts Create Variables Automatically?
Would there be a way for me to create a feature script in which it will make a variable automatically with the only input from a person being the value. For ex. I'm trying to create a feature script to make bolt hole patterns that require an equation that uses multiple variables. I need to create variables that you can…
-
Editing logic breaking reference to variables in array parameter?
Both of these custom features have array parameters: Texture & Freeform Spline. Input variables are lost when a new array item is added. Is there a way to fix this? @Evan_Reese, you may be interested in the solution to this if there is one.
-
how to assign a variable to control number of sides of a polygon?
I want to assign a variable to control number of sides of a polygon. But it won't accept the input.