Standard Commands adding in new ribbon Button (API)

Standard Commands adding in new ribbon Button (API)

pelin_sarac
Contributor Contributor
348 Views
1 Reply
Message 1 of 2

Standard Commands adding in new ribbon Button (API)

pelin_sarac
Contributor
Contributor

Hallo everyone,

I would like to ask question. I have created a new ribbon Button via Revit API. I download Visual Studio.

 

Can you explain me, how I can addstandart commands in a ribbon Button which I created new. ? (standart command like ( like wall, window etc)

Thank you

Pelin Sarac 

0 Likes
Accepted solutions (1)
349 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni
Accepted solution

One possible (and maybe the easiest) way is to implement your own external command, place a button for it in your ribbon tab, and use PostCommand to call the built-in Revit command from your own external command:

  

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.3

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes