Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Why am I having this loop warning?

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
gabrielcolombo05
713 Aufrufe, 5 Antworten

Why am I having this loop warning?

So, the thing is: I was trying to make sure that my door family has, at least 9 cm thickness, even if it were placed on a thinner wall. Then, I used a parameter called "EspessuraParede" (that means WallThickness, in portuguese) to measure the thickness of the wall witch the door would be inserted into (obviosly). 
So then, I created a parameter called "Espessura" (Thickness), that was about the door thicknes.

After that, I used the formula: IF(Espessura < 9cm, 9cm, EspessuraParede) to make sure it would always have 9cm or more. But, Revit didn't accepted my formula, sayin that it would be a loop, circle references, or somethink alike.
Why am I having this warning, if, with my wall is initially a 15cm one and doesn't satisfy the IF condition?

5 ANTWORTEN 5
Nachricht 2 von 6
hmunsell
als Antwort auf: gabrielcolombo05

the formula looks ok to me. it is probably referring to how the elements in your family are constrained using these parameters.  check where these constraints are being used and locked to in your family. 

Howard Munsell
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.



EESignature


Nachricht 3 von 6
RDAOU
als Antwort auf: gabrielcolombo05

@gabrielcolombo05 

 

Your formula looks like this

Thickness = if(Thickness < 9cm, 9cm, WallThickness)

 

The loop is the parameter Thickness. You cannot control a parameter by itself. It should be like follows

 

DoorThicknessif(WallThickness < 9cm, 9cm, WallThickness)

 

The formula will control the geometery of the door based on the wall thickness 

 

 

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Nachricht 4 von 6
gabrielcolombo05
als Antwort auf: RDAOU

So let me see if I got this... thickness would be a number paramenter, just to be inserted by the user, and doorThicknes would be the one associated whith my door, measuring it?

Nachricht 5 von 6
RDAOU
als Antwort auf: gabrielcolombo05

@gabrielcolombo05 

 

Original reply was edited...door thickness should be controlled by the wall thickness no need to input anything

 

DoorThicknessif(WallThickness < 9cm, 9cm, WallThickness)

 

  • When the wall thickness is less than 9 => whatever the user inputs the Door thickness will be 9cm
  • Otherwise if the wall thickness is more than 9cm the door will follow the wall thickness

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Nachricht 6 von 6
gabrielcolombo05
als Antwort auf: RDAOU

Thanks man :grinsendes_Gesicht_mit_lächelnden_Augen: It worked :Gesicht,_das_eine_Umarmung_gibt:

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report