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: 

Conditional Statements - reading information from another parameter

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
yuliya.nenovaWUZQN
536 Aufrufe, 4 Antworten

Conditional Statements - reading information from another parameter

Hi everyone,

I have a door schedule where I want to show the wall material and thickness in a "combined" way, meaning: I want to have columns with several material types (concrete, brick, gypsum etc.) and show the wall thickness below in each door instance raw under the related material. Sofar I've created a wall thickness parameter and material type parameters as a yes/no parameter. Is it possible then, to use a conditional statement in a parameter that requires when the material is correct, to show directly the wall thickness, and when it's wrong, to leave the cell empty? I tried with if(material, thickness, "") but it's showing me wrong Unit. Does anyone know how to solve this/how is the proper structure of the formula? Any better ideas are welcomed too.

p.s. attached you can find a schedule from excel showing what I want to achieve - cells in red are material types and in green I marked a type which is showing wall thickness information - to be understand as all doors are in the same wall type with the same wall thickness.

Thanks in advance!

Beschriftungen (1)
4 ANTWORTEN 4
Nachricht 2 von 5
ToanDN
als Antwort auf: yuliya.nenovaWUZQN

Are you trying to show the door frame depth or throat width? If so, you
can use a shared reporting parameter in the family to report the host wall
thickness and add it to the schedule.
Nachricht 3 von 5
RDAOU
als Antwort auf: yuliya.nenovaWUZQN

@yuliya.nenovaWUZQN 

 

Thickness is a Length parameter..  "" is a text field ... you cannot combine Length and Text in a conditional statement.  It has to be either / or 

 

If you want that to work, the Length would need to be a text parameter too ie: input manually or using Dynamo.

 

Otherwise, instead of "" will need to be you will have to settle for the integer 0...a blank cell wont work with length

 

 

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 5
barthbradley
als Antwort auf: yuliya.nenovaWUZQN


@yuliya.nenovaWUZQN wrote:

Hi everyone,

I want to have columns with several material types (concrete, brick, gypsum etc.) and show the wall thickness


 

I don't understand why you want the thicknesses of Wall Types' individual layers computed and reported in a Door Schedule.  I can't think of one valid reason to include that information in a Door Schedule, but you could compute and report those values in a Wall Material Take-off.  

 

See Calculated Parameter "Thickness" in below screenshot:  

 

Wall Layer Thickness.png

 

 

Nachricht 5 von 5
yuliya.nenovaWUZQN
als Antwort auf: RDAOU

Thank you very much! 

Tags (1)

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