lock_elements

compas_cadwork.utilities.lock_elements(elements)[source]

Locks the given elements in the cadwork viewport.

Parameters:
elementslist(compas_cadwork.datamodel.Element or int)

List of elements or element ids to lock.