UserEx


Description:

It represents the COM object to the UserEx-Element for user-defined integration of extern simulation programs

Properties:

Name Name of the node
ID Identification number of the node
ScriptName Script name of the UserEx Template
SimOpen

Status of User Model

True  = the model is already open

False = the model is not open

SimFailed

Status of Calculation

True  = Ok

False = Calculation  fails and results should not be evaluated

FilePathName Full  name of the loaded user model
InputLinks (ReadOnly) Return the Links-object. It is the collection of all input links for the node
OutputLinks (ReadOnly) Return the Links-object. It is the collection of all output links for the node
Application (ReadOnly) Return the Application-object.

Methods:

InitUserString() Delete all elements in UserString
AddUserString(String Name) Add Name to UserString
GetUserString(Integer Index) Return the element of UserString with Index (1..count)
SetUserString(Integer Index, String Name) Set Name to the element of UserString with Index (1..count)
UserStringCount() Number of elements in UserString
InitUserInteger() Delete all elements of UserInteger
AddUserInteger(Integer Value) Add Value to UserInteger
GetUserInteger(Integer Index) Return the element of UserInteger with Index (1..count)
SetUserInteger(Integer Index, Integer Value) Set Value to the element of UserInteger with Index (1..count)
UserIntegerCount() Number of elements in UserInteger
InitUserDouble() Delete all elements of UserDouble
AddUserDouble(Double Value) Add Value to UserDouble
GetUserDouble(Integer Index) Return the element of UserDouble with Index (1..count)
SetUserDouble(Integer Index, Double Value) Set Value to the element of UserDouble with Index (1..count)
UserDoubleCount() Number of elements in UserDouble
InitParameter() Delete all parameters
AddParameter(String Name, Double Value, String Unit, String Comment) Add a parameter
InitResult() Delete all results
AddResult(CString Name) Add a result