RoomProperties
Canonical path: NemAll_Python_ArchElements.RoomProperties
Bases: ArchBaseProperties
Implementation of the Room properties
GetAttributes
GetAttributes(
doc: DocumentAdapter, onlyModifiable: bool
) -> list[int | float | str]
Get the room attributes
Parameters:
-
doc
(DocumentAdapter
) –Document
-
onlyModifiable
(bool
) –when true, gets only modifiable attributes, otherwise gets all attributes
Returns:
-
list[int | float | str]
–List with the attributes represented with tuples like (attributeID, attributeValue)
GetText
Get the value of the attributes Text1 to Text5
Parameters:
-
number
(int
) –Number (1-5 allowed)
Returns: Value of the attribute
SetAttribute
SetAttribute(
attrib: (
AttributeInteger | AttributeDouble | AttributeString | AttributeEnum
),
)
Set the attribute
Parameters:
-
attrib
(AttributeInteger | AttributeDouble | AttributeString | AttributeEnum
) –Attribute
SetStoreyCode
Set the storey code
Parameters:
-
storeyCode
(str
) –Storey code
SetText
Set a value to the attributes Text1 to Text5
Parameters:
-
text
(str
) –Desired value of the attribute
-
number
(int
) –Number (1-5 allowed)
Placeholder