variable
Discussion List
-
Adding comments to the feature list
Happy Friday! I wanted to share a little tip that I developed in collaboration with Matt and Matt at Onshape - inspired by my 7th grade son's Onshape experience. The trick is to create a variable - type Any. The information you type into the description will show up as a tooltip. You can see here that my Variable is named…
-
how to make a variable feature with multiple variables
Hi, I would like to have a feature script like the Variable, but then with multiple Variables for the input. The reason is that when you have a very complex document and the Variables in the beginning I takes quite some time to regenerate the drawing after submitting the values. You have to wait for that before adjusting a…
-
How Can I Remove a Character from a String
I have a string that needs the last character removed. I can't seem to figure out how to do it. With the following expression, I can turn it into an array and remove the last element, but I can't figure out how to get it back to a string. resize(splitIntoCharacters(#Description),length(#Description)-2,1) I am trying to do…
-
Global Variables - Feature Script
Can anyone offer advise on the possibility / components for / method of making a global variable using FeatureScript?
-
True False Logic Variable?
I'm trying to suppress a feature that is used by multiple configurations. When all of the configurations are turned off, I would like to suppress the feature. Does anyone know if there is a way to do this?
-
Variables & Circular Patterns
Hello, Am I correct that you can not use variables for Circular Patterns? Expect: When I enter a [#Variable] say 10. I expect the sketch to be updated with 10 patterns of an object. Get: I get an error in the sketch that the pattern will not take a variable for calculation? Example Gear Sketch: (changing the variable…