Page 45 of 45 FirstFirst ... 354142434445
Results 441 to 443 of 443

Thread: Revit Formulas for "everyday" usage

  1. #441
    New Member kerkeni's Avatar
    Join Date
    October 14, 2014
    Current Local Time
    05:29 PM

    1 Not allowed! Not allowed!
    Quote Originally Posted by Alfredo Medina View Post
    Odd or Even

    To determine if an integer "n" is odd or even:

    if(-1 ^ n = 1, "even", "odd")

    Attachment 38855

    See attached Revit family.
    except the neutral integer "0"

    Sent from my ANE-LX2 using Tapatalk

  2. #442
    Junior Member
    Join Date
    November 30, 2016
    Current Local Time
    05:29 PM

    Not allowed! Not allowed!
    I think I already know but checking to make sure. Can one make an IF statement check for a certain value (or specific string) in a text parameter? I don' t think it's possible but if there is a way I would love to know how. Thanks!

  3. #443
    Moderator Robin Deurloo's Avatar
    Join Date
    July 7, 2011
    Rotterdam, Holland
    Current Local Time
    05:29 PM

    Not allowed! Not allowed!
    I'm afraid your are right there Sander. Can't use a string in an IF statement as far as I know.
    Might need to get that one on the Revit Roadmap as well

Similar Threads

  1. Fˇrmulas de Revit para el "uso diario"
    By Munkholm in forum Foro Espa˝ol
    Replies: 12
    Last Post: December 14th, 2017, 06:44 PM
  2. Replies: 3
    Last Post: March 18th, 2016, 11:32 PM
  3. Slab slope discrepancy btw "Slope arrow" and "Define Slope"
    By jh75 in forum Structure - General Questions
    Replies: 3
    Last Post: May 6th, 2011, 09:39 PM
  4. Revit 2011 - "Black rendering" with Non-English Win XP
    By Munkholm in forum Tutorials, Tips & Tricks
    Replies: 0
    Last Post: January 10th, 2011, 09:15 AM
  5. Replies: 2
    Last Post: January 7th, 2011, 07:19 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