(write only)


This method sets the Active DSS Class for use with ActiveClass interface. Same as SetActiveClass in Circuit interface.


Example


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');

                    return

end;

DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

% Sets class 'Load' as the active class

i = DSSObject.SetActiveClass('Load');

% verify if the class exists

if i < 0,

                    disp('The class does not exist');

                    return

end;