Functions for Power Variables

The following functions can be used for setting and retrieving variables that refer to a specific power type that is already registered in the process file:

Functions with three arguments:

         GetPowerVarVal (powerName As String, VarID As VarID, val) can be used to retrieve the value of input/output variables related to the specific power type

         SetPowerVarVal (powerName As String, VarID As VarID, val) can be used for setting input variables related to the specific power type

The first argument is the power type name, the second argument (varID) is the variable identifier that specifies the variable we want to access and the third argument (val) is the variables value. The Variable ID that needs to be used for each variable is listed in Power Type Variables. Please see Accessing Pro-Designer Variables with COM for general information on accessing the Pro-Designer variables with the COM Server.