(read only)


This property returns the distance from each bus to parent EnergyMeter. Corresponds to sequence in AllBusNames.


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;

% Gets the distances for all buses in the model to the parent Energy meter

myBusDistances = DSSCircuit.AllBusDistances;