Door Renumbering By Room (Changing the numbering to letters)


#1

I am currently looking at the Door.RenumberByRoom Node.

I would like to slightly change the script so that if multiple doors are in a single room they are tagged as 105A, 105B instead of 105.1 , 105.2

Any help on this quick question would be appreciated.


BVN Door.RenumberByRoom - Add Door Mark instead
#2

I honestly just use the CASE app still. It offers a nice UI to pick the numbering before you commit… https://github.com/WeConnect/case-apps


#3

That being said, here is one way to generate an Alpha-numeric list.


Assign door tag sequence that corresponds with room number
#4

thanks for the response, this is very close to what I am looking for except that the “A”…#amount…1; returns 105. , 105.A
and I would like for the first door to start with 105.A, then go to 105.B

Any ideas for a quick fix?


#5

Never mind I got it
thanks for your help John


#6

How did you do it?


#7

Even this seems to work …!

Door renumber(letter version).dyn (19.0 KB)

NOTE:

  1. Curtain doors that are certain distance off from wall center line are omitted and carry the old mark values…!
  2. To room and from room errors are rectified on opening the family and checking in the room location point…!

#8

@john_pierson
How is this applied to the room mark value then. I set it to value of ‘set parameter name by value’ but it only named a few doors and not them all, and they don’t coincide with the room number.


#9

Your output from “Room.Doors” would need to go into the SetParameter node


#10

@john_pierson

Fantastic! Thank you. Also, I would need to apply the ‘To.From Room’ somewhere, but where would I place this?


#11

Might be able to flatten the output of the SetParameter node and use the node from clockwork to get that data


#12

I ask because under the ‘+’ node, there are duplicates; a door between two rooms is used twice. 18a is also 17c.

How would I fix this?

rooms
Capture


#13

You would have to find out if the door is reporting multiple rooms. Thinking it might need to be a new topic.