Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 5 of 5
Like Tree2Likes
  • 1 Post By jean_francois_nant
  • 1 Post By jmk

Thread: If statement with "Yes" "no" parameter

  1. #1
    Member
    Join Date
    August 6, 2012
    Location
    Montreal
    Posts
    111
    Current Local Time
    11:34 AM

    If statement with "Yes" "no" parameter

    Ok, i'm building this ladder family & I'm trying to add a visibility parameter to my last rung. It should only be shown if "Remaining Height At Bottom" is less than 6" (see image below). My formulae is not working & I am frustrated alot...

    Please see image... Any help is greatly appreciated...
    If statement with "Yes" "no" parameter-ladder.jpg

  2. #2
    Member
    Join Date
    August 6, 2012
    Location
    Montreal
    Posts
    111
    Current Local Time
    11:34 AM
    Ok Just got it reading revit help... both the condition and the results are implied...

    (Remaining Height At Bottom < 0' 6")
    cellophane likes this.

  3. #3
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:34 PM
    Quote Originally Posted by jean_francois_nant View Post
    Ok Just got it reading revit help... both the condition and the results are implied...

    (Remaining Height At Bottom < 0' 6")
    How have I missed something that simple all this time

  4. #4
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,396
    Current Local Time
    06:34 PM
    Yeah its not very clear in the syntax help for Yes/No parameters, but you dont need the If(...
    I often use 1=0 (A statement that is clearly not true) in the family editor, to set Yes/No parameters to off for all types.

  5. #5
    jmk
    jmk is offline
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    Location
    NM, USA
    Posts
    1,415
    Current Local Time
    10:34 AM
    And if you need to force yes/no you can do it like this:
    Yes = true = 2>1
    No = false = 1>2

    if(Remaining Height At Bottom < 0' 6", 2>1, 1>2) would work, it just is more complex.
    josephpeel likes this.

Similar Threads

  1. Rebar Diameter symbol "Ø" is Showing as "0" in Revit 2014
    By Shefypattambi in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: July 14th, 2014, 01:49 PM
  2. Embedded "Or Statement" in Schedule Calculated Value?
    By gabecottam in forum Architecture and General Revit Questions
    Replies: 9
    Last Post: July 13th, 2012, 02:53 PM
  3. Replies: 0
    Last Post: February 9th, 2012, 02:15 AM
  4. "Title on Sheet" parameter field" ?
    By Dave Jones in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: October 17th, 2011, 12:17 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
  •