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.
Solved! Go to Solution.
Solved by ToanDN. Go to Solution.
Solved by ToanDN. Go to Solution.
Hard to follow. Can you post a picture or something showing what you are describing?
I think you mean like a key schedule?
If you want to create a dropdown list in a family, use a nested family and a Family Type parameter.
https://revitforum.org/showthread.php/18858-Formula-driven-Family-Type-Parameter
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.
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...
@Anonymous wrote:
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.
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.
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).
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!
Can't find what you're looking for? Ask the community or share your knowledge.