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

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By Robin Deurloo

Thread: Formula in family's parameters.

  1. #1
    Junior Member
    Join Date
    May 11, 2016
    Posts
    5
    Current Local Time
    03:41 AM

    Formula in family's parameters.

    Hi!
    I have spent all the morning trying to create a conditional formula to center an object, but Inconsistent units don't stop to appear....
    See the image below:


    Formula in family's parameters.-captura.png

    The orinial formula was: IF(Centre,Desplaçament_X_Conducte_Imp=(Ample/2)-(Ample conducte impulsió/2),Desplaçament_X_Conducte_Imp)

    I think that this problem is because i must eliminate the units, but i don't know how.
    I hope u can help me with that problem.

    Thanks!!

  2. #2
    Moderator Robin Deurloo's Avatar
    Join Date
    July 7, 2011
    Location
    Rotterdam, Holland
    Posts
    1,235
    Current Local Time
    05:41 AM
    Think you should read this, it helped me a while back:

    http://www.revitforum.org/tutorials-...lize-them.html
    tzframpton likes this.

  3. #3
    Member evan.dodds's Avatar
    Join Date
    December 29, 2014
    Location
    Calgary, Canada
    Posts
    197
    Current Local Time
    09:41 PM
    First off, this formula won't work as you are creating a circular reference by referring back to the same parameter you are putting the formula in (You need to have a second parameter). Second, it looks like you need to introduce the mm units back into the formula (or not cancel them?) but I can't exactly tell what the parameter types are.

    So you need something along the lines of this:

    Formula in family's parameters.-formula.png

Similar Threads

  1. Revit Family Formula Help
    By knkagaki in forum MEP - Family Creation
    Replies: 11
    Last Post: June 23rd, 2015, 03:25 PM
  2. titleblock family formula/Parameter
    By lhudson in forum Architecture - Family Creation
    Replies: 5
    Last Post: June 2nd, 2015, 06:40 PM
  3. Family Type - Formula or Lookup?
    By stevienet in forum Architecture - Family Creation
    Replies: 4
    Last Post: September 15th, 2014, 03:32 PM
  4. Replies: 0
    Last Post: August 15th, 2013, 12:15 AM
  5. Formula for controlling 3 yes / no parameters for visibility
    By RevituP in forum Structure - General Questions
    Replies: 9
    Last Post: November 19th, 2012, 10:05 AM

Tags for this Thread

Posting Permissions

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