I am exporting many parameters to my skeleton model
If I export a parameter with value 1mm, the result is 0.1
I made a quickfix by making all my parameters unitless, but this is not how i would like it.
I am testing a bit in ilogic to fix this, because i want to use degrees and milimeters instead of unitless.
Dim oDoc As Document = ThisDoc.Document
Dim UserParams As UserParameters = oDoc.ComponentDefinition.Parameters.UserParameters
Dim UserParam As UserParameter
UserParams.AddByExpression("Testparam", "1", UnitsTypeEnum.kDefaultDisplayLengthUnits)
My default length unit is 'mm' and 1 mm becomes 0.1mm when I sent it to my skeleton.
How can I make it possible that the parameter.Value = 1 regardless of wheter the parameter is mm, cm, inches or whatever?
Thanks in advance,
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register