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: 

Can a distance parameter be controlled by a list of distances?

12 ANTWORTEN 12
GELÖST
Antworten
Nachricht 1 von 13
Sahay_R
2095 Aufrufe, 12 Antworten

Can a distance parameter be controlled by a list of distances?

Hello all,

 

I have a family where the geometry needs to have it's distance controlled from a reference plane. This distance needs to be one of four standard values. Short of memorizing the values, how can I set up a formula so that distance A = distance B or C or D or E?

 

I would rather have this baked into the family itself. I don't believe it can be done with Global Parameters in the project. 

 

Much appreciated.... in advance.... 

Rina


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
12 ANTWORTEN 12
Nachricht 2 von 13
SteveKStafford
als Antwort auf: Sahay_R

How does this relate to the user placing the family? Does it just vary from type to type or can any type have one of these four values?

 

You could create a integer parameter that the user enters 1-4. The length can evaluate that parameter to see what it is and return the correct length (see image).


Steve Stafford
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 13
barthbradley
als Antwort auf: Sahay_R

I'd need more info about the family, but my initial thought is Lookup Table.  

Nachricht 4 von 13
ToanDN
als Antwort auf: Sahay_R

- Create a family with 4 types and a Length type parameter, give each type a set distance. Build the geometry in this family.
- Nest it in another family (no geometry), add a Family Type instance parameter (Label).
- Load it in your project and user can select the family and choose one of the 4 length options from a drop-down.
Nachricht 5 von 13
Sahay_R
als Antwort auf: ToanDN

Thank you , gentlemen, @ToanDN  - the attempt is to avoid types, since the distance will vary over instances, possibly more so than the 4 standard distances that I mentioned. @barthbradley I am investigating Lookup Tables as I type. @SteveKStafford  - this is just right! The formula is what I was looking for - thank you!


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 6 von 13
Sahay_R
als Antwort auf: barthbradley

@barthbradley How do Lookup Tables work? I've got a CSV imported into the family - what next? Correct me if I am wrong - this table seems to lack required info for Lookup Tables to work....

 

Capture.PNG


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 7 von 13
ToanDN
als Antwort auf: Sahay_R


@Sahay_R wrote:

Thank you , gentlemen, @ToanDN  - the attempt is to avoid types, since the distance will vary over instances, possibly more so than the 4 standard distances that I mentioned. @barthbradley I am investigating Lookup Tables as I type. @SteveKStafford  - this is just right! The formula is what I was looking for - thank you!


Types in the nested family are only a means for the family creator to create the dropdown.  End users do not see types, they only see the drop down list to choose from.

Nachricht 8 von 13
Sahay_R
als Antwort auf: ToanDN

@ToanDN very true. And here is the  rub - I am creating a theater seat family, which needs to have 3 seat width types - which is the easy part. The seat back needs to have a clearance from the floor riser behind it of a certain value. SO - I need to be able to pick the seat type, and then the required clearance (which could be for ANY seat type). So far - I am thinking seat width types, with the clearance driven by the formula earlier suggested by @SteveKStafford - any better suggestions would be appreciated.....


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 9 von 13
barthbradley
als Antwort auf: Sahay_R

So, if the "ClearDist" Parameter Value is 2 7/8", what parameters are to be populated with what values? These are your next columns.  

 

 

Nachricht 10 von 13
ToanDN
als Antwort auf: Sahay_R


@Sahay_R wrote:

@ToanDN very true. And here is the  rub - I am creating a theater seat family, which needs to have 3 seat width types - which is the easy part. The seat back needs to have a clearance from the floor riser behind it of a certain value. SO - I need to be able to pick the seat type, and then the required clearance (which could be for ANY seat type). So far - I am thinking seat width types, with the clearance driven by the formula earlier suggested by @SteveKStafford - any better suggestions would be appreciated.....


Both methods will work.  Using a formula has its simplicity of everything in one family, but you need to clarify with users which Integers (1, 2, 3..) are for which dimensions.  Using a Family Type label has more work up front but it is more descriptive to users (Pick clearance: 6", 10" 14" etc...).

 

Example file attached.

 

Annotation 2019-11-26 105039.pngAnnotation 2019-11-26 104338.png

 

 

Nachricht 11 von 13
Sahay_R
als Antwort auf: ToanDN

@ToanDN I will look at this with great interest....


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 12 von 13
SteveKStafford
als Antwort auf: Sahay_R

My blog post describes the technique @ToanDN describes and has a file you can download to reverse engineer.


Steve Stafford
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 13 von 13

@ToanDN I created my family according to your tip and almost everything works perfectly.

The problem which I have is when I load my family in the revit project in my drop box I get not only types of family which I created but all shared generic model family types present in the project. Any idea how to fix this?

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