Module Contents#




class dss.IDSSElement.IDSSElement(api_util)#

Bases: dss._cffi_api_util.Base

property AllPropertyNames: List[str]#

Array of strings containing the names of all properties for the active DSS object.

Original COM help: https://opendss.epri.com/AllPropertyNames1.html

property Name: str#

Full Name of Active DSS Object (general element or circuit element).

Original COM help: https://opendss.epri.com/Name5.html

property NumProperties: int#

Number of Properties for the active DSS object.

Original COM help: https://opendss.epri.com/NumProperties1.html

ToJSON(options: dss.enums.DSSJSONFlags = 0) str#

Returns the properties of the active DSS object as a JSON-encoded string.

The options parameter contains bit-flags to toggle specific features. See Obj_ToJSON (C-API) for more, or DSSObj.to_json in Python.

(API Extension)