flatten_3d_components#
- Mechanical.flatten_3d_components(components=None, purge_history=True, password=None)#
Flatten one or multiple 3d components in the actual layout. Each 3d Component is replaced with objects. This function will work only if the reference coordinate system of the 3d component is the global one.
- Parameters:
- components
str
,list
,optional
List of user defined components. The Default is
None
for all 3d Components.- purge_historybool,
optional
Define if the 3D Component will be purged before copied. This is needed when more than 1 component with the same definition is present.
- password
str
,optional
Password for encrypted 3d component. The Default is
None
.
- components
- Returns:
- bool
True
when successful,False
when failed.