Donate Now Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

Results 1 to 4 of 4

Thread: Formula Help

  1. #1
    New Member
    Join Date
    April 9, 2018
    Posts
    2
    Current Local Time
    07:10 AM

    Formula Help

    I am hoping someone might be able to assist me in the writing of a formula for a family I am currently building. I am hoping there is a way to control a value with a Yes/No parameter, but at the same time if that parameter is returned as "no" that value can act as an instance value. Please see the attached screen shot. Since this family is able to flex in width the sinks are needing to be able to move. Usually I would just leave this as an instance parameter, but I am wanting to have a option that you just select that will center the sink ( "Sink Centered" ). To my best understanding this might be able to be done with an IF statement in the "Sink Center" Parameter along the lines of IF(Sink Centered,Width/2, [If False]) but I am unsure of what to put for the [if false] value that will allow for the parameter to act as an instance, if this is even possible.



    Attached Thumbnails Attached Thumbnails Formula Help-2018-04-09_7-48-24.png  

  2. #2
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,164
    Current Local Time
    09:10 AM
    You will need another parameter that is actually moving the sink, then place your formula in that parameter.

    if the Center checkbox is selected, use the width/2, otherwise use the ItemPlacement value.
    Attached Thumbnails Attached Thumbnails Formula Help-centerformula.png  

  3. #3
    Member
    Join Date
    January 19, 2012
    Posts
    330
    Current Local Time
    08:10 AM
    On a related side note:
    Maybe make those Sinks "Shared Nested". I use Room/Area Occupancy tracking parameters to measure up against actual Plumbing Fixture counts. You can either tract live fixtures or use a Parameter to tack Fixture counts based on options, which I use as to more easily/accurately track options as I have many nested variations/options to choose from (so not to double count the shared nested items not graphically active) to keep layouts standardized (based on given parameters) & also have "flexible" versions. Food for thought.

  4. #4
    New Member
    Join Date
    April 9, 2018
    Posts
    2
    Current Local Time
    07:10 AM
    Thank You So Much! This did exactly what I needed it to do :-D

Similar Threads

  1. Replies: 2
    Last Post: November 18th, 2016, 01:24 PM
  2. Formula Help???
    By dcalloway1969 in forum MEP - Family Creation
    Replies: 5
    Last Post: December 15th, 2014, 11:59 AM
  3. % Formula
    By Vik in forum Architecture and General Revit Questions
    Replies: 6
    Last Post: October 28th, 2014, 12:57 PM
  4. Formula help?
    By Dave Jones in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: August 18th, 2013, 11:22 PM
  5. Schedule formula (is there a formula expert in the house?)
    By John McCamont in forum Architecture and General Revit Questions
    Replies: 8
    Last Post: September 9th, 2011, 09:50 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
  •