I have a lighting family for a track system that needs to have x3 different track head placements: spot tracks pointing out a maximum of every 2'-0", a wall washer track head pointing out a maximum of every 6'-0", and a spot track pointing inside a maximum of every 4'-0". I have created a family but it doesn't function exactly how I need and think it should.
Per lighting vendor, this track must come in increments of 2'-0". My staff know this so I have the length as an adjustable parameter and not locked (I tried to make it constrained but I was having a lot of trouble). My questions now:
-I always want at least x1 track heads pointing inside and x2 heads pointing out , and x1 wall washer (for example when the track is 2' and 4')
-Is there a way to evenly distribute the track heads that point inside? They can be any distance from the end of the track as long as they are evenly distributed and a max 4'-0"
-I want a general max spacing of 6'-0" for the wall washer but in my family right now the track is 14' and it's showing me x3 wall washers when it should only be 2.
I have attached the family. I have tried adding a parameter that would take the [(Track Length - the dimension between first and last head) / 2] but that gives me 4 heads and there end up being too many constraints if the length changes.
Thank you.
Create an array in the family with a parameter for number, based on your requirements. Use if statements to determine the amount and what should show.
Maybe I'm missing it, but I don't see the family attached. I think you need to attach an integer parameter to an array (same type/instance as your length parameter), use something along the lines of calculatednumberofelements = rounddown ( (Length-2*minimaldistancetoedges) / maxdistancebetweenelements ) , constraint to last refplane to distribute evenly, calculate distance parameters for the left/right refplane to center based on formula: calculated(_1/2)_tracklength = (calculatednumberofelements*maxdistancebetweenelements ) (/ 2 or with EQ)
https://www.revitforum.org/showthread.php/1046-Revit-Formulas-for-quot-everyday-quot-usage
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.