Results 1 to 3 of 3

Thread: Formula in family's parameters.

  1. #1
    Junior Member
    Join Date
    May 11, 2016
    Posts
    5
    Current Local Time
    07:36 PM

    Not allowed! Not allowed!

    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:


    Click image for larger version. 

Name:	Captura.PNG 
Views:	17 
Size:	17.5 KB 
ID:	26643

    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,483
    Current Local Time
    08:36 PM

    Not allowed! Not allowed!
    Think you should read this, it helped me a while back:

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

  3. #3
    Member evan.dodds's Avatar
    Join Date
    December 29, 2014
    Location
    Calgary, Canada
    Posts
    220
    Current Local Time
    12:36 PM

    Not allowed! Not allowed!
    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:

    Click image for larger version. 

Name:	Formula.PNG 
Views:	20 
Size:	13.1 KB 
ID:	26696

Similar Threads

  1. Revit Family Formula Help
    By knkagaki in forum MEP - Family Creation
    Replies: 11
    Last Post: June 23rd, 2015, 04:25 PM
  2. titleblock family formula/Parameter
    By lhudson in forum Architecture - Family Creation
    Replies: 5
    Last Post: June 2nd, 2015, 07:40 PM
  3. Family Type - Formula or Lookup?
    By stevienet in forum Architecture - Family Creation
    Replies: 4
    Last Post: September 15th, 2014, 04:32 PM
  4. Replies: 0
    Last Post: August 15th, 2013, 01: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, 11: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
  •