Dimension.set_attribute

Dimension.set_attribute(attribute_number, name_or_value, value=None)[source]

Sets an attribute on the Element

Parameters:
attribute_numberint

The number of the attribute (1-10)

name_or_valuestr

If value is provided, this is the name of the attribute. Otherwise, this is the user attribute value.

valuestr, optional

The value of the attribute