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 get default button name

3 REPLIES 3
Reply
Message 1 of 4
firzautama
566 Views, 3 Replies

How to get default button name

firzautama
Participant
Participant

Hi,

Is there a way to get the default buttons and its names. For example, I would like to get Manage > Visual Programming > Dynamo, and show a message when that button is clicked.

 

Thank you.

0 Likes

How to get default button name

Hi,

Is there a way to get the default buttons and its names. For example, I would like to get Manage > Visual Programming > Dynamo, and show a message when that button is clicked.

 

Thank you.

Tags (3)
3 REPLIES 3
Message 2 of 4
recepagah12
in reply to: firzautama

recepagah12
Advocate
Advocate

I guess what you need is post command.

You can search it from Revit API. And here is some useful links.

Building Coder 

Post Command 

 

Recep.

0 Likes

I guess what you need is post command.

You can search it from Revit API. And here is some useful links.

Building Coder 

Post Command 

 

Recep.

Message 3 of 4
firzautama
in reply to: recepagah12

firzautama
Participant
Participant

Thanks for your suggestion @recepagah12  I'll try and have a look at it

0 Likes

Thanks for your suggestion @recepagah12  I'll try and have a look at it

Message 4 of 4
jeremytammik
in reply to: firzautama

jeremytammik
Autodesk
Autodesk

Ahmed Nabil just suggested a neat method to detect when a specific command is launched by checking for its name in the DocumentChanged event:

 

https://forums.autodesk.com/t5/revit-api-forum/group-edit-event/m-p/8169237

 



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

0 Likes

Ahmed Nabil just suggested a neat method to detect when a specific command is launched by checking for its name in the DocumentChanged event:

 

https://forums.autodesk.com/t5/revit-api-forum/group-edit-event/m-p/8169237

 



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  

Autodesk Design & Make Report