Sample Code Revit Batch Processor 1.1.13 documentation
Allows simplified access to:
room name
room number
room level
room phase
Modify delete
checks whether the deleted element count is a list of 2 entries
checks whether any entry is a model line
Modified modifier
check if any room in that collection has an area of zero after modification
Bases: ModifierBase
Class constructor.
Base implementation override to modify the modified element count.
Returns modified element list unchanged if: - modified is not a c# List[ElementId]
Returns: - modified element list without any room objects
modified: The modified element count
Base implementation override to modify the deleted element count.
Returns deleted element list unchanged if: - deleted is not a c# List[ElementId] - deleted is not a list of 2 elements
Returns: - deleted element list without any model lines
deleted (List[ElementId]) – The deleted element id list
Bases: RoomBaseObj
Class constructor
Check if the room is rectalinear. ( all room bounding segements are either parallel or perpendicular to each other )
True if the room is rectalinear, False otherwise.
bool
Check if the room is aligned to the bounding box. ( all room bounding segements are either parallel or perpendicular to the bounding box )
True if the room is aligned to the bounding box, False otherwise.
bool
Bases: RoomBaseObj
Class constructor