Revit Architecture

Reply
Contributor
rasm578s
Posts: 25
Registered: ‎03-11-2013
Message 1 of 3 (100 Views)

Advanced parameter coding question

100 Views, 2 Replies
04-17-2013 01:18 AM

I would like to be able to control the fire rating a door must have through a yes / no parameters. I have created a shared parameter for all the different codes and then I have loaded them into the family, now I just want it to work so that when a rating is checked the name will be in  "Fire Rating".

 

EI0 selected when the door is not fire rated.

 

As can be seen in the picture, I found out how it can be doneUntitled.pngif there are 3 checkboxes.

Contributor
rasm578s
Posts: 25
Registered: ‎03-11-2013
Message 2 of 3 (95 Views)

Re: Advanced parameter coding question

04-17-2013 01:50 AM in reply to: rasm578s

After I played a bit more with it, I found out that if I write:


"f (and (E60C, EI0)," E 60-C ", if (and (EI230C, EI0)," EI2 30-C ", if (and (EI260CA2s1d0, EI0)," EI2 60-C A2-s1 , d0 ", if (and (CSA, EI0)," CSA ", if (and (EI230, EI0)," EI2 30 ", if (and (EI260C, EI0)," EI2 60-C ", if (and (E30C, EI0), "E-30 C", if (EI0, "", "")))))))) 


So it works when EI0 always checked.

Can it be made such that only one of the other boxes that can be checked at a time?

Untitled.png

*Expert Elite*
Alfredo_Medina
Posts: 2,819
Registered: ‎06-11-2009
Message 3 of 3 (69 Views)

Re: Advanced parameter coding question

04-17-2013 08:17 AM in reply to: rasm578s

See if this post helps : (in the Revit MEP forum)

http://forums.autodesk.com/t5/Autodesk-Revit-MEP/IF-THEN-Formula-and-Yes-No-Parameter/m-p/3818889#M1...

 

 

-----------------------------------------------------------------------------------------------------------------
Planta1 Revit Online Consulting | info@planta1.com | my Twitter | The Planta1 Blog
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.