# Deconstruct OpenDSS

![](/files/p1wiwedJdHDZ73dklwjr)

![](/files/5K8peMaahzFtN1t4UN01) - [\[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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ladybug.tools/dragonfly-primer/components/4_electricgrid/deconstruct_opendss.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
