Files
zmVault/breakdown-objects.md
T

60 lines
930 B
Markdown

---
id:
aliases: []
title: Breakdown Objects
tags:
- authorship/original
- destiny/permanent
- status/incomplete
- topic/automation
- topic/estimating
- topic/software
- type/idea
---
# Breakdown Objects
return child breakdowns from a parent
for use in takeoff
```
Buildings["Building A"].GetEveryNthLevel(2)
Buildings["Building A"].GetTaggedLevel("Roof")
```
```
Buildings["Building A"].GetHeight()
```
```
Buildings["Building A"].GetLevels()[0]
Buildings["Building A"].Levels[0]
```
For jobs with only one building:
```
Building = Buildings["Main Building"]
Building.Levels[0]
```
## Pathfinding
Define equipment locations stochastically
```
in Building A,
every odd level has
20 receptacles
fed from
a panel
on that level
and every even level has
20 receptacles
fed from
a panel
on the floor below
```
equipment of the same type is assumed to be evenly spaced.