Click or drag to resize

CktElement Methods

[This is preliminary documentation and is subject to change.]

The CktElement type exposes the following members.

Methods
  NameDescription
Protected methodCheckForError (Inherited from ContextState.)
Public methodClose
Public methodController
Full name of the i-th controller attached to this element. Ex: str = Controller(2). See NumControls to determine valid index range
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContextHandle
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsOpen
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpen
Public methodToString (Inherited from Object.)
Public methodVariable
Value as return and error code in Code parameter. For PCElement, get the value of a variable by name. If Code>0 then no variable by this name or not a PCelement.
Public methodVariableByIndex(Int32, Int32)
Value as return and error code in Code parameter. For PCElement, get the value of a variable by integer index. If Code>0 then no variable by this index or not a PCelement.
Public methodVariableByIndex(Int32, Int32, Double)
Set the Value of a variable by indx if a PCElement. If Code>0 then no variable by this index or not a PCelement.
Public methodVariableByName(String, Int32)
Value as return and error code in Code parameter. For PCElement, get the value of a variable by name. If Code>0 then no variable by this name or not a PCelement.
Public methodVariableByName(String, Int32, Double)
Set the Value of a variable by name if a PCElement. If Code>0 then no variable by this name or not a PCelement.
Public methodVariablei
Value as return and error code in Code parameter. For PCElement, get the value of a variable by integer index. If Code>0 then no variable by this index or not a PCelement.
Top
See Also