Alternatives to functions in Global parameters

Alternatives to functions in Global parameters

matthew.ross.hdrinc
Enthusiast Enthusiast
391 Views
2 Replies
Message 1 of 3

Alternatives to functions in Global parameters

matthew.ross.hdrinc
Enthusiast
Enthusiast

I am working on some Revit modifications to make my firm's Revit lighting families more flexible. I've been able to link the length of an ies file to the length of a light fixture, but now I want to use the proration parameter to equal a formula that will multiply the luminous flux of the ies file to reflect the new length. Clicking on the little box at the end of the proration factor parameter leads to the global parameters. I want to take the length instance parameter in the variable fixture family, strip it of units, and apply it to a global parameter that the proration factor is reading. Maybe I am complicating this, is there an easier way to do this? (Side note; I know we'd have to make sure that the IES file is already based on a round unit of measure 1m/1ft so the proration based on that unit works. But it's easier than creating 45 different IES files for each length).

0 Likes
392 Views
2 Replies
Replies (2)
Message 2 of 3

barthbradley
Consultant
Consultant

@matthew.ross.hdrinc wrote:

I've been able to link the length of an ies file to the length of a light fixture...


 

 

How did you "link the length of an ies file to the length of a light fixture"?  

0 Likes
Message 3 of 3

matthew.ross.hdrinc
Enthusiast
Enthusiast

Emit from length now equals the length parameter, and Emit From Width equals the width parameter. Now the size of the illuminated area changes when I modify the length or width type parameters. I'll have to load it into a project with Elum Tools and see if the rendering updates.

0 Likes