This property sets/gets the active XY curve by name.


% 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';

DSSXY = DSSCircuit.XYCurves;

% activate the first XY curve of the list

k = DSSXY.First;

% gets the name of the active XYCurve 

myXY = DSSXY.Name;