panel_prefab_element_data
panel_prefab_element_data
Read-only machine panel prefabrication data of an element.
Holds the element type, layer location and MFB prefab config (machine calculation set) of an element. Returned by machine_controller.get_panel_prefab_element_data.
get_element_type() -> panel_prefab_element_type
get_layer() -> int
get layer
Gets the layer location. Only meaningful if has_layer() returns True.
Returns:
| Type | Description |
|---|---|
int
|
int |
get_machine_calculation_set() -> str
get machine calculation set
Gets the machine calculation set (MFB prefab config) name.
Returns:
| Type | Description |
|---|---|
str
|
str |
has_layer() -> bool
has layer
Tests if a layer location is set on the element.
Returns:
| Type | Description |
|---|---|
bool
|
bool |