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: 

Limit parameter potential values in family

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
BenoitE&A
964 Aufrufe, 5 Antworten

Limit parameter potential values in family

Hey,

We have a family (Mech Fitting but does not matter).

We want the user to be able to choose only between 4 choices (text only, not int). 

Is this possible?

I did not find out how using a formula.

Thx !


Benoit FAVRE
CEO of etudes & automates
www.etudesetautomates.com/
5 ANTWORTEN 5
Nachricht 2 von 6
L.Maas
als Antwort auf: BenoitE&A

There are many different ways

 

Here an example.

LMaas_0-1665745549024.png

 

Other method could be to make 4 different family types. Then the user only hs to select the proper type.

 

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 6
BenoitE&A
als Antwort auf: L.Maas

Thanks.

It ends with modifying an Int for the user, which is not really great for simple users. But it'll do the job, provided that the 2 parameters are close in the Property pannel (which we'll settle).

I don't want to have multiple families/family types, always messy in code.

Thx anyway, we'll do the first solution.


Benoit FAVRE
CEO of etudes & automates
www.etudesetautomates.com/
Nachricht 4 von 6
BenoitE&A
als Antwort auf: L.Maas

Though... This is messy in code too : I need to work on the associated parameter (Choice in your example) instead of the one I'm interested in (Options) if I want to modify the value, which is bad.

No solution at all to use only 1 parameter, with Text values ?


Benoit FAVRE
CEO of etudes & automates
www.etudesetautomates.com/
Nachricht 5 von 6
Mike.FORM
als Antwort auf: BenoitE&A

Until Revit adds a "List" parameter type where you then put the items you want in the list into the formula field and they come up as a drop down in project/properties there is really no great way to do this other than what has been shown.

Nachricht 6 von 6
L.Maas
als Antwort auf: BenoitE&A

No, Revit has not something like a predefined list for a parameter (unfortunately) inside a family.

 

Not knowing what and how you are programming. Maybe you can leave the parameter empty, present the user a selection with your code and then push that choice into the parameter?

 

Another option might be to make use of a key schedule (inside a project).

With a key schedule you can present a user limited choices

LMaas_0-1665766118076.png

But I expect this might cause issues too within your program.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

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