Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

the dimmer controlling and color mixing for each lamp in Rendaring

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
450 Views, 3 Replies

the dimmer controlling and color mixing for each lamp in Rendaring

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 !

3 REPLIES 3
Message 2 of 4
jeremytammik
in reply to: Anonymous

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

Message 3 of 4
Anonymous
in reply to: jeremytammik

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
Message 4 of 4
jeremytammik
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report