This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


CStr CircuitS(int32_t Parameter, CStr Argument);


This interface returns a string according to the number sent in the variable “parameter”. The parameter can be one of the following:


Parameter 0: Circuit.Name

This parameter returns the name of the active circuit.


Parameter 1: Circuit.Disable

This parameter allows to disable an element of the active circuit, the element must be specified by name. As a result, this parameter will deliver the string “Ok”.


Parameter 2: Circuit.Enable

This parameter allows to enable an element of the active circuit, the element must be specified by name. As a result, this parameter will deliver the string “Ok”.


Parameter 3: Circuit.SetActiveElement

This parameter allows to activate an element of the active circuit, the element must be specified by name. As a result, this parameter will deliver a string with the index of the active element.


Parameter 4: Circuit.SetActiveBus

This parameter allows to activate a bus of the active circuit, the bus must be specified by name. As a result, this parameter will deliver a string with the index of the active Bus.


Parameter 5: Circuit.SetActiveClass

This parameter allows to activate a Class of the active circuit, the Class must be specified by name. As a result, this parameter will deliver a string with the index of the active Class.