See the top rated post in this thread. Click here

Results 1 to 9 of 9

Thread: Zero suppression in door numbers

  1. #1
    Active Member
    Join Date
    2006-03
    Posts
    85
    Login to Give a bone
    0

    Question Zero suppression in door numbers

    I know I have seen this before, but I can not find out where to change it right now. I have a room # that is 001. The Room tags are displaying correctly, but the door tags are not. Our door tags are set up to read the room number. Where do I find the setting that controls this for the door tags?

  2. #2
    Active Member
    Join Date
    2006-03
    Posts
    85
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    I've narrowed down the problem. For door numbers, we reference the room # and we have a manual definition for a suffix. Then we combine these two with a formula to produce the door number. The number appears correctly (001) in the room # category but once the formula adds the suffix, that is where the 00 is lost. Is there a fix for this situation? Is it because it's a formula?

  3. #3
    All AUGI, all the time
    Join Date
    2011-05
    Posts
    926
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    The forumla I have always used simply shows the room number and suffix side by side.

    However, I have never had your problem because we always begin room numbering at 101.

  4. #4
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    What does your formula property look like?

    What sort of suffix are you adding?

    I do not have time to test this right now, but something like this, where all values are converted to strings, should work, provided that you can live with a string as the result of the formula property

    "[roomnumberproperty]" & "[suffixproperty]"
    Last edited by dkoch; 2009-06-22 at 09:17 PM. Reason: Reference correct property

  5. #5
    All AUGI, all the time
    Join Date
    2011-05
    Posts
    926
    Login to Give a bone
    1

    Default Re: Zero suppression in door numbers

    David, shouldn't the door number actually be the room number?

  6. #6
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    Yes, it should. Thanks for pointing that out. I fixed it in my original post.

  7. #7
    Active Member
    Join Date
    2006-03
    Posts
    85
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    Our RoomNumber is a location property def. and the Suffix is a manual prop. def. Using a formula to combine them produced: [RoomNumber][NumberSuffix]

    In the Style Manager, the RoomNumber category reads the number correctly from the space, it's just in the formula category where it drops the two 00's.

    I'm not sure I'm following what you mean by converting them to strings.

    Our suffix's are usually "a", "b" ect if there are multiple doors in the room. This particular door does not have a suffix as it's the only door in the basement. I think if I try to delete the suffix for this one door tag, it would reek havoc on my schedule, wouldn't it? there are other doors in the project that are using suffix's.

  8. #8
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    1

    Default Re: Zero suppression in door numbers

    Quote Originally Posted by sharla View Post
    Our RoomNumber is a location property def. and the Suffix is a manual prop. def. Using a formula to combine them produced: [RoomNumber][NumberSuffix]

    In the Style Manager, the RoomNumber category reads the number correctly from the space, it's just in the formula category where it drops the two 00's.

    I'm not sure I'm following what you mean by converting them to strings.

    Our suffix's are usually "a", "b" ect if there are multiple doors in the room. This particular door does not have a suffix as it's the only door in the basement. I think if I try to delete the suffix for this one door tag, it would reek havoc on my schedule, wouldn't it? there are other doors in the project that are using suffix's.
    Your formula uses implied concatenation, which does not always give the desired results, as in this case. Use explicit concatenation, with the property references enclosed in pairs of double quotation marks. My generic example
    "[roomnumberproperty]" & "[suffixproperty]"
    would be
    "[RoomNumber]" & "[NumberSuffix]"
    for your specific case.

  9. #9
    Active Member
    Join Date
    2006-03
    Posts
    85
    Login to Give a bone
    0

    Default Re: Zero suppression in door numbers

    Beautiful! Thank you! That works perfectly.

Similar Threads

  1. 2013: Revit door numbers are not unique
    By MikeJarosz in forum Revit Architecture - General
    Replies: 11
    Last Post: 2013-05-15, 02:42 AM
  2. I wish that door numbers could be tied to room numbers.
    By revit.wishlist1942 in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2010-04-03, 06:37 AM
  3. Zero Suppression in Integers and Numbers
    By phyllisr in forum Revit Architecture - General
    Replies: 2
    Last Post: 2007-03-08, 12:56 AM
  4. linked room numbers & door numbers
    By tim.101799 in forum Revit Architecture - Wish List
    Replies: 5
    Last Post: 2006-07-18, 08:44 PM
  5. door numbers
    By sultarc in forum Revit Architecture - General
    Replies: 3
    Last Post: 2005-04-15, 09:08 AM

Posting Permissions

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