SetConvertedValue method


Your Ad Here


Topsolid online Help Index

Created : v6.6

 

IParameter.SetConvertedValue(Value, Symbol)

Description

This method sets the value of the parameter in the unit you want (Symbol).

Parameters

IN:

Double Value

Value which is in "symbol" unit.

 

IN:

String Symbol

Symbol of the unit in which you want to set the value.

 

Remarks

If the symbol is not in the same type unit as the parameter, the method returns an error.

Example

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

Your Ad Here