Topsolid online Help Index
Created : v6.6
IParameter.SetConvertedValue(Value, Symbol)
This method sets the value of the parameter in the unit you want (Symbol).
|
IN: |
Double Value |
Value which is in "symbol" unit.
|
|
IN: |
String Symbol |
Symbol of the unit in which you want to set the value.
|
If the symbol is not in the same type unit as the parameter, the method returns an error.
Dim value As Double
TopParam.SetConvertedValue(value, "cm")
' the value is in cm and you want to set it to the parameter
Topsolid online Help Index