(read only)

This property sets the Active Action by popping the next action off the COM Control Proxy action list. Returns zero when there are no more actions to pop. 


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

% Compile a model        

DSSText.Command = 'Compile C:\myPath\myModel.dss';

DSSCtrlQueue = DSSCircuit.CtrlQueue;

% Gets the number of actions pending

myIdx = DSSCtrlQueue.PopAction;

if myIdx == 0,

    disp('No more actions in the queue');