Dimension

class compas_cadwork.datamodel.Dimension[source]

Bases: Element

Represents a cadwork dimension

Inherited Methods

from_selection

Returns a generator containing Element objects for all currently activated Elements

get_elements_in_contact

Returns a list of elements in contact with the current element

get_instruction_id

Returns the instruction ID of the Element

is_beam

remove

Removes the Element from the cadwork file

remove_attribute

Removes an attribute from the Element

set_attribute

Sets an attribute on the Element

set_is_instruction

Sets the is_instruction attribute on the Element

translate

Translates the Element by the given vector.