the dimmer controlling and color mixing for each lamp in Rendaring

the dimmer controlling and color mixing for each lamp in Rendaring

Anonymous
Not applicable
541 Views
3 Replies
Message 1 of 4

the dimmer controlling and color mixing for each lamp in Rendaring

Anonymous
Not applicable

Now I am using the function of Rendaring with Revit.

I found when I change the dimmer and color for one lamp, and the dimmer and color of the lamps with same type will be changed together.

 

Can I change the dimmer and color for each lamp when I use the Rendaring?

 

I think there is one method  that I can copy and modify the lamp, but if I have so many lamps, it will be a heavy works.

 

Could you please give me some advice?

 

Thanks for you very much !

0 Likes
Accepted solutions (1)
542 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Dear Wyfeng2013,

 

Is this a Revit API issue, or an end user question?

 

Are you doing anything programmatically, or just using the standard Revit user interface?

 

Please note that this discussion forum is dedicated to programming Revit using the Revit API.

 

Therefore, you cannot expect an answer to a question such as yours relating to product usage or end user support issues here.

 

You should try one of the non-API Revit product support discussion forums instead for that:

 

http://forums.autodesk.com/t5/revit-api/this-forum-is-for-revit-api-programming-questions-not-for/td...

 

I hope this clarifies.

 

Thank you for your understanding.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

Anonymous
Not applicable
Dear Jeremy,
Thanks for your remind.
It`s really that I should post this qustion on non-API Revit product forum.

In fact, I want to use api to change each lamp`s dimmer and color.
Before doing it, I have tried rendaring function by Revit, and I found when I change one lamp`s setting, other lamps with same types were also changed.

I will post this qustion on non-API Revit forum again.

And could you think I can change each lamp`s dimmer and color by API?

Thanks for you very much !

Yanfeng Wang
0 Likes
Message 4 of 4

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Yanfeng Wang,

 

Thank you for your understanding.

 

Regarding the possibility to  control each lamp`s dimmer and color by API:

 

Once you know how to do this in the user interface, you can simply compare all of the lamps' properties and parameters before and after the modification to find out what was changed and how to possibly control it programmatically using the element lister, RevitLookup, and other more intimate database exploration methods:

 

http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python...

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder