(read/write)


This property sets/gets the max number of points to expect in load shape vectors. This gets reset to the number of multiplier values found (in files only) if less than specified.


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;

% Compile a model        

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

DSSLoadShapes = DSSCircuit.LoadShapes;

% Activates the first LoadShape of the list

i = DSSLoadShapes.First;

% gets the number of points in the active LoadShape

myNpts = DSSLoadShapes.Npts;