GetConvertedValue method


Your Ad Here


Topsolid online Help Index

Created : v6.6

 

Double = IParameter.GetConvertedValue(Symbol)

Description

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

Parameters

IN:

String Symbol

Symbol of the unit in which you want the value.

 

RET:

Double

Value of the parameter in the right symbol.

 

Remarks

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

Example

Dim value As Double

 

value = TopParam.GetConvertedValue("cm")

 

' the value you will have is in cm

Topsolid online Help Index

Your Ad Here