This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


int32_t PVSystemsI(int32_t Parameter, int32_t Argument);


This interface returns an integer number with the result of the query according to the value of the variable Parameter, which can be one of the following:


Parameter 0: PVSystems.Count

This parameter returns the number of PVSystem objects currently defined in the active circuit.


Parameter 1: PVSystems.First

This parameter sets the first PVSystem to be active; returns 0 if none.


Parameter 2: PVSystems.Next

This parameter sets the next PVSystem to be active; returns 0 if none.


Parameter 3: PVSystems.Idx read

This parameter gets the active PVSystem by index; 1..Count.


Parameter 4: PVSystems.Idx write

This parameter sets the active PVSystem by index; 1..Count.