I would like to develop a script that will recognize and renumber a room if it is an ensuite to a main room. The project requires a pattern to the room number, which is why I approached the problem with ‘Ideate Renumber’ (a feature provided with the plugin to customize the room naming). So far I’ve achieved a sequence that follows the rules:
- Prefix of the Building Acronym, / , Level Number, / , 000
- Apply numbering system if the Name of the room does not contain ‘Ensuite’
This works great for numbering the main rooms. Now my issue is the Ensuite rooms must share the same room number as their parent room with the suffix A. Some main rooms do not have ensuites, which means there might be a room number AA/01/005A, AA/01/007A, and no AA/01/006A. Hopefully this is clear, and happy to answer questions.