> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/dragonfly-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/dragonfly-primer/components/4_electricgrid/deconstruct_opendss.md).

# Deconstruct OpenDSS

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-37794f163ae5dae6bafcfedcc9a84646281427d7%2FDeconstruct_OpenDSS.png?alt=media)

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-1a6ee753b4e782f599eb368bd7286e2d35179181%2FDeconstruct_OpenDSS.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src//DF%20Deconstruct%20OpenDSS.py)

Deconstruct an OpenDSS Wire, PowerLine, or Transformer Properties into its constituient attributes and values.

### Inputs

* **dss\_obj \[Required]**

An OpenDSS Wire, PowerLine, or Transformer Properties to be deconstructed. This can also be text for a Wire, PowerLine, or Transformer to be looked up in the library.

### Outputs

* **values**

List of values for the attributes that define the OpenDSS object.

* **attr\_names**

List of text that is the same length as the values, which notes the attribute name for each value.
