This interface can be used to gain access to the features of the active circuit element without having to use a specific element interface. This interface is embedded within the ActiveCircuit interface, requiring the definition of this interface before getting access the to ActiveCktElement interface.


Example


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp("Unable to start openDSS");

                    return

end;

DSSCircuit = DSSObject.ActiveCircuit;

DSSActiveElement = DSSCircuit.ActiveCktElement;