CRA_Assembly.from_polysurfaces

classmethod CRA_Assembly.from_polysurfaces(guids, identify_interfaces=False, **kwargs)

Construct an assembly from Rhino polysurfaces.

Parameters

guids (list[str]) – A list of GUIDs identifying the poly-surfaces representing the blocks of the assembly.

Returns

Assembly

Examples

>>> assembly = Assembly()
>>> guids = compas_rhino.select_surfaces()
>>> assembly.add_blocks_from_polysurfaces(guids)