Forums
Forums >> Revit Building >> Technical Support >> Revit 7 family file parameterization
|
|
active
Joined: Tue, Dec 7, 2004
2 Posts No Rating |
At Autodesk University there was a clcursethat showed how Revit 7 family file parameter values can be set by using if->then conditional logic and algeabraic expressions in formulas.
Is anyone playing with this to see how far we can take it? There may be a trade-off between modeling flexibility of the family file and Revit project file size and performance due to the system needing to evaluate the conditional logic to render each instance of the family.
For example, I'd like to know if it is possible to define a casement window family for which the number of window panels and their configuration can be driven by a parameter that sets a value for the number of panels and a parameter that describes the panel configuration i.e., "SinglePanel", "Double Panel Horizontal", "Double Panel Vertical", etc.
Has anyone built a family like this and do you mind sharing your experience with respect to modeling issues, file size and performance?
Thanks,
Andrew
|
This user is offline |
|
![](images/spacer.gif) |
|
site moderator|||
![Mr Spot Avatar](user_avatar/1073.jpg)
Joined: Mon, Jan 12, 2004
2889 Posts
![4.5 Stars: 93 Votes](/images/stars_4.5.gif) |
Conditional formulas have been possible since very early revisions or revit.
I've made use of it frequently, previously i had used it to describe whether a door should display door handles as knobs or levers... However, version 7.0's ability to swap out nested families superceded the need to use conditional parameters to do this.
the format is as follows:
Simple IF
IF ( <condition>, <result-if-true>, <result-if-false>
IF ( Length < 35' , 2'-6", 3'-0" )
Simply IF - AND
IF ( AND (x = 1 , y = 2), 8 , 3 )
Simply IF - OR
IF ( OR ( A = 1 , B = 3 ) , 8 , 3 )
Multiple IF
IF ( Length < 35' , 2' 6" , IF ( Length < 45' , 3' , IF ( Length < 55' , 5' , 8' ) ) )
IF - with "A" less then or equal to "B" - current work around
IF ( NOT ( A > B ) , 8 , 3 )
Boolean Parameter - Yes/No parameters
Length > 65'
Not ( Length > 45' )
NOT(<condition>
AND(<cond_1>, <cons_2>, ... <cond_n>
OR(<cond_1>, <cons_2>, ... <cond_n>
Only numeric parameters may be defined by formulas
<= and >= are not implemented yet
"a <= b" can be written as NOT(a > b).
Hope this helps.
|
This user is offline |
View Website
|
![](images/spacer.gif) |
![](images/spacer.gif) |
Similar Threads |
Odd Family Behavior - Absorbing .RVT file info. |
Revit Building >> Technical Support
|
Wed, May 19, 2010 at 3:30:56 PM
|
6
|
Can you use an IFC file in a family. or use one like a family? |
Revit Systems >> Technical Support
|
Tue, Aug 7, 2012 at 4:27:00 PM
|
14
|
Load Family button does not pull open the file browser |
Revit Building >> Technical Support
|
Wed, May 4, 2011 at 1:55:38 PM
|
10
|
Converting extruded massing from a family to a project file type? |
Revit Building >> Technical Support
|
Fri, Feb 26, 2010 at 11:06:47 AM
|
10
|
Family file is too big... |
Revit Building >> Tips & Tricks
|
Wed, Oct 13, 2010 at 4:21:02 AM
|
7
|
![](images/spacer.gif) |
|
Site Stats
Members: | 2026013 | Objects: | 22991 | Forum Posts: | 152208 | Job Listings: | 3 |
|