70 lines
1.0 KiB
Markdown
70 lines
1.0 KiB
Markdown
---
|
|
id:
|
|
aliases: []
|
|
tags:
|
|
- topic/automation
|
|
- topic/estimating
|
|
- topic/software
|
|
- status/fleeting
|
|
---
|
|
# 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.
|
|
|
|
## Location vs. Scope
|
|
|
|
<!--TODO:-->
|
|
|
|
![[location-vs-scope]]
|
|
|
|
MDPB is physically _located_ in "Bldg A",
|
|
but serves only loads in "Bldg B".
|
|
|
|
```
|
|
location = "Bldg A"
|
|
scope = "Bldg B"
|
|
```
|