get_all_element_ids

compas_cadwork.utilities.get_all_element_ids(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(int)

Generator of element ids.