Im a relative beginner working on a script which will find out which area a room exists in, then renumber it sequentially based on this area.
To explain this with an example, consider 3 rooms which exists within an area named A.101. The idea is that each of these rooms would be numbered A.101.1 // A.101.2 // A.101.3 respectively.
Using Lunchbox Area & Room collector, I have created a polygon containment test to assess if the centre point of a room exists within an area. The list logic returned however is quite complicated, and I dont understand how I can filter out false items in order to rename them.
Now working perfectly John, thank you for developing such a useful node!
The script is almost doing what I need it to, however my method for adding a unique suffix doesn’t work quite well enough. as you can see below, the ‘.##’ suffix does not reset when a new area number is started. eg.
Unfortunately the project im applying this to is massive, so finding a way to isolate rooms is very difficult. I’ve done a few more experients in my test file, and the issue seems to be where there are multiple area schemes in a project. Is there a way to filter out GIA/GEA area within your node?
Having looked again at the exploded node in more detail, It looks like there is some issue with the Clockwork Python script. I’ve isolated a single area which the script is unable to create a bounding box for.