Best practice / Sample for creating luminaires programmatically

Best practice / Sample for creating luminaires programmatically

Anonymous
Not applicable
403 Views
1 Reply
Message 1 of 2

Best practice / Sample for creating luminaires programmatically

Anonymous
Not applicable

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 🙂

0 Likes
404 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi, is there anything new on creating Revit families programmatically with a Revit API on the server WITHOUT the need to run Revit itself and remote control it - which is a bit frustrating.

 

I've answered the "What can Revit cloud do for you" and I was promised that the developer team is thinking/working about it. But this was exactly one year ago and I got unfortunately neither an answer on my mail, nor a reply here...

0 Likes