I named a driven dimension parameter so I can reference it elsewhere in my model. The problem is that the driven dimension is in inches and the reference parameter does not allow me to change the units. I would like to use that driven dimension in my model and divide it by the pitch in a pattern to get the correct count for my pattern. The pattern dialog box is expecting a unitless input.
I tried creating a unitless user parameter that referenced the reference parameter but that did not work.
Solved! Go to Solution.
Solved by CCarreiras. Go to Solution.
Found the answer here
looks something like this
isolate(referenceparameter;unit;ul)
Hi!
Now You have a parameter let's call him "driven", unit: "in"
Now, create a new numeric parameter, choose "ul" as unit
We will call this parameter as: "driven_converted"
To convert use this expression:
Now you can use this "Driven_converted" to use in other parameters.
Remember that: if you want to use this parameter as a array qty, you will need a integer, maybe you have to add another prefix:
floor(expr) -------- unitless (Next lowest whole number.) ex: 2.8 - > 2
ceil(expr) --------- unitless (Next highest whole number.) ex: 2.8 - > 3
round(expr) -------unitless (Closest whole number.) ex: 2.3 - > 2 2.6 - > 3
Did you find this reply helpful ? If so, use the Accept as Solution or Kudos - Thank you!
Can't find what you're looking for? Ask the community or share your knowledge.