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: 

Instance parameter integer list?

14 ANTWORTEN 14
GELÖST
Antworten
Nachricht 1 von 15
Anonymous
2534 Aufrufe, 14 Antworten

Instance parameter integer list?

Is it possible to have a predefined integer "list" (sort of like a lookup table for AutoCAD dynamic blocks)?

 

My current use-case is creating some furniture content for our office template. Some family features I'd like to keep as instance parameters. For instance, on a conference table, the # of power/data banks shown. Except the available options should be 0, 1, 2, or 4. Not negative values, 3, or more than 4. Is this possible? I read a little about Revit lookup tables, but I'm looking to keep this self-contained - no external .csv files.

14 ANTWORTEN 14
Nachricht 2 von 15
barthbradley
als Antwort auf: Anonymous

Hard to follow. Can you post a picture or something showing what you are describing?  

Nachricht 3 von 15
martijn_pater
als Antwort auf: Anonymous
Nachricht 4 von 15
ToanDN
als Antwort auf: Anonymous

If you want to create a dropdown list in a family, use a nested family and a Family Type parameter.

 

ToanDN_0-1607965455710.png

 

https://revitforum.org/showthread.php/18858-Formula-driven-Family-Type-Parameter

 

 

 

Nachricht 5 von 15
Anonymous
als Antwort auf: barthbradley

Furniture Instance List.png

The "Power Banks 0 1 2 or 4" is my current hack as an integer instance parameter. If the value is greater than 1, it drives an array parameter value for the number of power banks shown.

 

@ToanDNWould your suggestion of a Family Type parameter still apply in this case? The power bank is already a nested family in this conference table family.

Nachricht 6 von 15
martijn_pater
als Antwort auf: ToanDN

I think @ToanDN might be onto something there... in terms of having some more or less self-contained nested family options. Seeing as using key schedules is not within the family itself. edit: btw I suppose it'd actually be double nested with the array built in, having the all types/options in one...

Nachricht 7 von 15
ToanDN
als Antwort auf: Anonymous


@Anonymous wrote:

Furniture Instance List.png

The "Power Banks 0 1 2 or 4" is my current hack as an integer instance parameter. If the value is greater than 1, it drives an array parameter value for the number of power banks shown.

 

@ToanDNWould your suggestion of a Family Type parameter still apply in this case? The power bank is already a nested family in this conference table family.


Yes.  But using this approach you pre-configure 0, 1, 2, and 4 data port layout in the nested family and use a Family parameter to select those configurations in the table family.  No arraying or formula is to be happening in the furniture family.  If you are not clear then share the furniture family here.

Nachricht 8 von 15
Anonymous
als Antwort auf: Anonymous

Here's where the family is at so far.

Nachricht 9 von 15
ToanDN
als Antwort auf: Anonymous

See attached.

 

ToanDN_0-1607968368108.png

 

Nachricht 10 von 15
Anonymous
als Antwort auf: ToanDN

Awesome, let me dig into what you've got here.

Nachricht 11 von 15
ToanDN
als Antwort auf: Anonymous

Nachricht 12 von 15
Anonymous
als Antwort auf: ToanDN

Ok, so I see you placed multiple instances of the power bank into the banks family. Since this needs to fit into the different layout dimensions in the conference table family, I'm guessing I'll just need to move the layout into the power banks family and tie the dimensions together.

Nachricht 13 von 15
Anonymous
als Antwort auf: Anonymous

Thanks again @ToanDN this is working nicely. I moved the power banks layout from the table family into its own family. Then changed the table leg and single power bank familes to Generic family type so they don't show up in the Select Power Banks list (since it's a Furniture family type parameter).

Nachricht 14 von 15
Anonymous
als Antwort auf: Anonymous

I have a similar question to the OP I believe...

 

I have an instance parameter that list multiple integers ('TAP') that a device can support (ex. Value: 1, 5, 30, 75). The TAP amount is associated with a label. Currently, in a plan view I see all 4 TAP options when the item is placed. I have a formula that tells me what the required Tap needs to be based on the devices location, desired values, specs, etc... However the result is an exact measurement, which is never an option (TAP value) for the device, so I have to round up to the nearest 'TAP' value provided by the manufacturer (in this case...1, 5, 30, or 75). for example: the formula comes back with a value of 21.6... How would I create a formula that would select "30" as the devices tap, in turn allowing my label to display 30 on the plan?

 

My thought was using IF with multiple AND/OR conditions... But Revit seems to have its own way of doing that...

 

Any help would be appreciated!

Nachricht 15 von 15
ToanDN
als Antwort auf: Anonymous

Do a search on how to use a look up table for your family.

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