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: 

How to modify revit button picture ?

6 REPLIES 6
Reply
Message 1 of 7
cxyz278
845 Views, 6 Replies

How to modify revit button picture ?

I can create customization ribbon and button, but i can not find about the modify revit define button  picture api, because  i want to customization  my revit whole  UI style, how to do this ?

6 REPLIES 6
Message 2 of 7
yimin.chenTW
in reply to: cxyz278

Message 3 of 7
cxyz278
in reply to: yimin.chenTW

Sorry my question is not clearly, my question how to change revit built-in button picture.

Message 4 of 7
jeremytammik
in reply to: cxyz278

This question has been discussed here many times in the past.

 

Here is a pointer to such a discussion and a very nice tutorial by archi+lab:

 

https://thebuildingcoder.typepad.com/blog/2017/12/pipe-fitting-k-factor-archilab-and-installer.html#...

 

Please always search for existing solutions first before posting a new question.

 



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

Message 5 of 7
cxyz278
in reply to: jeremytammik

Thanks for your answer, but i still don't know how to change revit default design like below pictureInked6a00e553e16897883301b8d2c6edfd970c-800wi_LI.jpg

Where blue circle is revit default wall button, i want to change this picture to my custom design and red number is default button order, then i want to change order like 5-4-3-2-1 order, anyway i want to do that is modify revit original UI design, but so far i try to search related tutorial then obtain the "how to create own button"only that is not my want to do, clearly my problem is how to change revit orignal UI design include picture、order、panel color and so on .

Message 6 of 7
cxyz278
in reply to: cxyz278

I try use ILSpy to look revit .dll file and find the revit tool picture and some code that look like xml code, but i don't find how to use this dll to write api to change revit default button picture.

擷取.PNG

Message 7 of 7
a-carpentier
in reply to: cxyz278

I'm not quite sure you can change the design of Revit's built-in buttons, it seems to be baked in the code directly.

 

However, you can very easily reorganize the quick access toolbar.

To do so, simply right-click on the quick access toolbar, and then click on "Customize Quick Access Toolbar". This will allow you to add/remove tools from the toolbar, but also choose in which order the tools are displayed.

This solution is not API-focused, but I doubt you would need to do those changes more than a couple times, so a macro would be overkill anyway.

 

Antoine

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community