ModelCenter/src/ModelCenter.odl (line 1395)
COM Instance.
Inherits from:
Members
- addVariable
- AssociatedFiles
- downloadValues
- forwardSchedule
- getFullName
- getMetadata
- getName
- getPositionX
- getPositionY
- getSource
- getSourceScript
- getType
- getVariable
- Groups
- IndexInParent
- invalidate
- invokeMethod
- language
- ParentAssembly
- prevalidate
- reconnect
- removeVariable
- rename
- run
- setMetadata
- setSourceFromFile
- setSourceFromString
- setVariables
- show
- timeout
- userData
- Variables
Properties
Property Variables
ModelCenter/src/ModelCenter.odl (line 1)
Property Groups
ModelCenter/src/ModelCenter.odl (line 1)
Property userData
ModelCenter/src/ModelCenter.odl (line 1)
Property AssociatedFiles
ModelCenter/src/ModelCenter.odl (line 1)
Property IndexInParent
ModelCenter/src/ModelCenter.odl (line 1)
Property ParentAssembly
ModelCenter/src/ModelCenter.odl (line 1)
Property language
ModelCenter/src/ModelCenter.odl (line 1)
Property timeout
ModelCenter/src/ModelCenter.odl (line 1)
Property forwardSchedule
ModelCenter/src/ModelCenter.odl (line 1)
Property prevalidate
ModelCenter/src/ModelCenter.odl (line 1)
Public functions
Function getName
Function getFullName
Function run
Function getSource
Function invokeMethod
- method: The name of the method to invoke.
- BSTR method
Function invalidate
Function reconnect
Function downloadValues
Function getVariable
- name: The name of the variable to retrieve in dotted notation relative to the Component.
- BSTR name
Function getPositionX
Function getPositionY
Function rename
- name: New name of the Component.
- BSTR name
Function getType
- Component
- Assembly
- Sequence
- If
- Parallel
- Empty
- ForEach
Function show
Function setSourceFromString
- script: string value to use as the script code
- BSTR script
Function setSourceFromFile
- file: the full path of the file
- BSTR file
Function addVariable
- name: the name of the variable
- type: the type of the variable e.x. “double”, “string[]”, “object”, etc
- state: the state of the variable e.x. “input”, “output”
- BSTR name
- BSTR type
- BSTR state
Function removeVariable
- name: the name of the variable to remove
- BSTR name
Function setVariables
- inputs: comma separated list of input variables e.x. “long n, double[] p, …”
- outputs: comma separated list of output variables e.x. “double x, string y, …”
- VARIANT inputs
- BSTR outputs