Renumber rooms

2 min read
Share on twitter
Share on linkedin
Share on facebook
Share on email

As architects, we commonly find ourselves faced with a large number of rooms on a floor plan that must be numbered sequentially based on their layout. This type of data is not easily manipulated within a tabular format of an Excel spreadsheet nor a Revit schedule. We need to see the spatial configuration of rooms in a plan to understand how the renumbering needs to be applied. The Parametric Monkey Dynamo package solves this problem with the ‘Room.RenumberByModelCurve‘ custom node.

Computational logic

Users are required to draw a (model) spline through the rooms to be numbered. Only rooms that intersect the curve will be processed. This method allows for batch processing which is often desirable. The number sequence precision can then be set. For example, a precision of 1 will result in 0, 1, 2, etc. Whereas a precision of 2 will result in 00, 01, 02, etc. An optional prefix, such as the level number, can also be set. There is also the option to exclude certain room names which cannot avoid being intersected by the model curve, such as circulation.

To ensure accuracy, ensure the spline passes approximately through the centre of the room. All room elements should be centred within their respective room boundaries. This modification is required because, behind the scenes, the script is collecting all rooms and extracting their location point.

This point is then used as a reference to evaluate the closest point to the curve. These points, and the associated rooms, are then sorted based on their curve parameter. A sequence of numbers is then created and converted to a string to avoid any precision issues. This string is then concatenated with the desired prefix. The model curve can then be deleted or retained on a hidden workset, for example, for future modification.

Share on twitter
Share on linkedin
Share on facebook
Share on email

76 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Tutorials

Documenting Stairs with Dynamo
Premium

Documenting stairs

A Dynamo workflow to document stairs by creating dimensions, number systems, spot elevations, stair run tags & min clearances.

Stair Compliance
Premium

Stair compliance

Verify stairs compliance including riser height, going length, risers per stair run & clearance between top rails.

Align Views
Premium

Align views on sheet

Use the ‘Align Views on Sheet’ Dynamo graph for a consistent graphic layout between sheets.

Copyright​

© 2021 Parametric Monkey
Parametric Monkey and the Parametric Monkey logo are trademarks of Parametric Monkey Pty Ltd.

CONTACT US

Drop us a message and someone from our team will be in touch with you shortly.

BOOM!

Thank you for your interest. Someone from our team will be in touch soon.

WORKSHOP APPLICATION

To find out about upcoming public workshops or to organise a private workshop, please submit the following contact form and we’ll be in touch soon.