GetDesignVariableValue

Returns a design variable's value.

Important:

This is a member function of ISolutionDataResultComInterface object, which is the element of the returned array from function GetSolutionDataPerVariation.

UI Access N/A
Parameters
Name Type Description
<varName> String Can be returned from GetDesignVariableNames()
<siValue> Boolean True to return SI-value; False to return by GetDesignVariableUnits()
Return Value Double value

 

Python Syntax GetDesignVariableValue(<varName>, <siValue>)
Python Example

value = oModule.GetDesignVariableValue('varName',1)