get_all_elements

compas_cadwork.utilities.get_all_elements(include_instructions=False)[source]

Returns all element ids of the currently open cadwork document.

Parameters:
include_instructionsbool, optional

If True, also include instruction elements in the result.

Returns:
generator(compas_cadwork.datamodel.Element)

Generator of elements.