Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Instance parameter integer list?

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
Anonymous
2388 Views, 14 Replies

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 REPLIES 14
Message 2 of 15
barthbradley
in reply to: Anonymous

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

Message 3 of 15
martijn_pater
in reply to: Anonymous
Message 4 of 15
ToanDN
in reply to: 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

 

 

 

Message 5 of 15
Anonymous
in reply to: 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.

Message 6 of 15
martijn_pater
in reply to: 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...

Message 7 of 15
ToanDN
in reply to: 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.

Message 8 of 15
Anonymous
in reply to: Anonymous

Here's where the family is at so far.

Message 9 of 15
ToanDN
in reply to: Anonymous

See attached.

 

ToanDN_0-1607968368108.png

 

Message 10 of 15
Anonymous
in reply to: ToanDN

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

Message 11 of 15
ToanDN
in reply to: Anonymous

Message 12 of 15
Anonymous
in reply to: 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.

Message 13 of 15
Anonymous
in reply to: 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).

Message 14 of 15
Anonymous
in reply to: 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!

Message 15 of 15
ToanDN
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report