Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 3 of 3

Thread: Door numbering by room using multiple parameters

  1. #1
    Junior Member
    Join Date
    January 27, 2017
    Posts
    39
    Current Local Time
    05:41 PM

    Door numbering by room using multiple parameters

    Hello,
    I am quite the beginner in Dynamo, and I have recently had an interesting mission at my job, and that is to renumber all doors in a project based on the room number they open into.
    After scouring the internet for anything that can help, I found a few scripts, especially one that does exactly what I need.
    It’s from BVN and it’s called “Door.RenumberbyRoom”. It’s quite complicated deep inside, but the block itself is very easy to use, and it does exactly what I need, specifically taking the Room number parameter and applying it to the doors in a room, by rotation.
    The problem is that it chooses JUST one parameter, where I need multiple parameters. I don’t just have the room number, I also have the Stairshaft number, Level, Apartment number and then Room number. All these are Shared Parameters.
    F.eg.: “Door tag - 10.01.15.200-01” (Stairshaft 10, Level 01, Apartment 15, Room 200, Door 01…02…03)
    How could I manage to make this numbering based on what I already have? I tried using the same block, and instead of Prefix to connect all these shared parameters into a “List.join” or Code block with “a+b+c+d”, but it doesn’t seem to be working.
    I feel like I am very close, and I need to practically add a CORRECT, dynamic Prefix to this whole thing.
    Here is what I have so far that doesn’t work:
    Dynamo script,
    Revit project


    Thank you for your help!
    Attached Files Attached Files

  2. #2
    Moderator snowyweston's Avatar
    Join Date
    December 21, 2010
    Location
    C.LONDON
    Posts
    4,382
    Current Local Time
    06:41 PM
    Without looking at the files, or even reading past the sixth line... rather than reaching for the <Room Number>, you will want a "helper" parameter (or even skip that entirely when in Dynamo) to build a concatenation of the values you require to pass into the door...

    If your SPs are already populated then you're laughing, especially if you have done so without manual input (?) but if not... given your SPs relate to proximities and adjacencies, rather than "direct" element-to-element relationships, you're going to need to massively expand what the Dynamo graph has to do - as you'll be using some degree of bounding box/geometry work - and loads of rules - to correctly associate a stairshaft to a specific door at a specific level leading to a specific room contained with a particular apartment.


    It's not for me to ask, but I'm going to, why does a door need to report it's respective stair shaft in it's ID? Room, Apartment & Level I can understand... but stair? Life Safety stuff?
    Last edited by snowyweston; November 15th, 2017 at 01:16 PM.

  3. #3
    Junior Member
    Join Date
    January 27, 2017
    Posts
    39
    Current Local Time
    05:41 PM
    Quote Originally Posted by snowyweston View Post
    Without looking at the files, or even reading past the sixth line... rather than reaching for the <Room Number>, you will want a "helper" parameter (or even skip that entirely when in Dynamo) to build a concatenation of the values you require to pass into the door...

    If your SPs are already populated then you're laughing, especially if you have done so without manual input (?) but if not... given your SPs relate to proximities and adjacencies, rather than "direct" element-to-element relationships, you're going to need to massively expand what the Dynamo graph has to do - as you'll be using some degree of bounding box/geometry work - and loads of rules - to correctly associate a stairshaft to a specific door at a specific level leading to a specific room contained with a particular apartment.


    It's not for me to ask, but I'm going to, why does a door need to report it's respective stair shaft in it's ID? Room, Apartment & Level I can understand... but stair? Life Safety stuff?
    I have tried with a helper parameter, as in concatenate all the room parameters into one parameter, then in the door tag add an this helper parameter, so we have two parameters in one tag. running the script first would introduce the first value, and then the room number + door number in the second part of the tag. unfortunately, i still couldn't manage to get the rooms information right! it just works for 2 rooms, and the others report random numbers. I am laughing, but it's more of a crying laugh

    I have thought about what you said about using the room boundaries and getting the respective parameters based on that, and I have tried it a few times. All my results end in "Function", "Null", or in Dynamo representing my rooms with model lines, I can't really find a way on how to get the hosted parameter info from a room boundary and report, insert or concatenate into a helper parameter.
    I feel like I am very close. I can smell the victory! What can I do?!

    And no, I don't mind you asking In the place we work we use the stairs as to narrow down the location of a specific apartment. You might as well replace it with "Building wing". (Apartments around stairshaft 15 for example) then you know exactly which apartments one is referring to)

Similar Threads

  1. Two different room numbering systems on same project
    By Damo in forum Architecture and General Revit Questions
    Replies: 7
    Last Post: November 12th, 2015, 10:53 PM
  2. Do U Revit: To/From Room Door Parameters
    By Do U Revit in forum Blog Feeds
    Replies: 0
    Last Post: April 19th, 2014, 12:15 AM
  3. Room numbering-seperate for each floor (REVIT LT 2014)
    By famfuch in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: August 8th, 2013, 01:31 PM
  4. Problem with Door parameters reporting room name/ number
    By cadmancan in forum Architecture and General Revit Questions
    Replies: 6
    Last Post: June 3rd, 2013, 10:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •