AllPropertyNames
(read only)
This property returns a variant array (strings) containing all property names of the active device.
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';
DSSActiveElement = DSSCircuit.ActiveCktElement;
% Sets load 'Load1' as the active element
DSSCircuit.SetActiveElement('Load.Load1')
myLoadProp = DSSActiveElement.AllPropertyNames;
% Sets line 'Line1' as the active element
DSSCircuit.SetActiveElement('Line.Line1')
myLineProp = DSSActiveElement.AllPropertyNames;