Message 1 of 2
Best practice / Sample for creating luminaires programmatically

Not applicable
08-30-2016
10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi again,
I've had a lot of fun with the first examples ad Revit SDK. But now I'm trying to create some luminaires and couldn't find any example with best practivce code for creating a luminaire family using the API. I've checked the board here, this excellent building coder blog and the API Labs on GitHub as well as the REVIT SDK examples. But couldn't find anything beside topics like placing luminaire families or creating other types like stiffener. Unfortunately they contains no topics like creating several light outputs and assigning .ies files for rendering
So I would really appreciate some best practive code for:
- Creating a luminaire family from scratch and adding one light output
- Creating a nested luminaire family with more than one light output
- Very important for me: Creating and adding photometric web light sources and assigning them .ies files for accurate rendering
- And assinging some info parameters like Socket, Emergency Ballast Lume Factor and so on to help the planer using this luminaires inside Revit
Would be really great and help me to start a new project I'm currently working on. Thanks in advance 🙂