flatten_3d_components#

Q3d.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:
componentsstr, 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.

passwordstr, optional

Password for encrypted 3d component. The Default is None.

Returns:
bool

True when successful, False when failed.