Functions for Section Variables

The following functions can be used for setting or retrieving variables that refer to the specific section in the processs file. These include economic, scheduling, component, and material variables that affect the simulation case.

These two functions can be used to retrieve the value of input/ouput variables related to the specific section:

GetSectionVarVal(branchName As String, sectionName As String, VarID As VarID, val) 

GetSectionVarVal2(branchName As String, sectionName As String, VarID As VarID, val, va12)

GetSectionVarVal3(branchName As String, sectionName As String, VarID As VarID, val, val2, val3)

GetSectionVarVal4(branchName As String, sectionName As String, VarID As VarID, val, val2, val3, val4)


These two functions can be used for setting input variables related to the specific section:

SetSectionVarVal(branchName As String, sectionName As String, VarID As VarID, val)

SetSectionVarVal2(branchName As String, sectionName As String, VarID As VarID, val, val2)

SetSectionVarVal3(branchName As String, sectionName As String, VarID As VarID, val, val2, val3)

   The first argument is the branch name and the second is the section name. The third argument (varID) is the variable identifier that specifies the variable we want to access. The fifth/sixth arguments (val / val2 / val3), of VARIANT type, are extra identifiers needed for the variable we want to access in the functions with five / six arguments.

The Variable ID that needs to be used for each variable is listed in Section Variables. Please see Accessing Pro-Designer Variables with COM for general information on accessing the Pro-Designer variables with the COM Server.