getBuildStyleById¶
-
pyslm.geometry.
getBuildStyleById
(models, mid, bid)¶ Returns the
Buildstyle
found from a list ofModel
given a model id and buildstyle id.- Parameters:
models (
List
[Model
]) – A list of modelsmid (
int
) – The selected model idbid (
int
) – The selectedBuildstyle
id
- Return type:
Optional
[BuildStyle
]- Returns:
The
BuildStyle
if found or None