bbx
Read and Write Bounding Box Files.
Functions
load(inputfile)
Read list of bounding boxes from file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inputfile |
str
|
path to input file |
required |
Returns:
Type | Description |
---|---|
list[tuple[tuple[float, float, float], tuple[float, float, float]]]
|
bounding boxes |
Source code in pyrevitlib/pyrevit/interop/bbx.py
dump(outputfile, bbox_list)
Write list of bounding boxes to file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
outputfile |
str
|
path to output file |
required |
bbox_list |
list[tuple[tuple[float, float, float], tuple[float, float, float]]]
|
bounding boxes |
required |