Add command to right mouse click

Add command to right mouse click

Anonymous
Not applicable
428 Views
1 Reply
Message 1 of 2

Add command to right mouse click

Anonymous
Not applicable

Hello everyone,

 

I want to add a command to right mouse.

When right mouse click, i want to have a text to execute an command. Is this possible in Revit API?

 

Add command to right mouseAdd command to right mouse

 

Thank you.

 
 
0 Likes
429 Views
1 Reply
Reply (1)
Message 2 of 2

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @Anonymous ,

I think Revit API does not provide any support for this.

But you can try using .NET functionality to access and manipulate the context menus.

 

Have a look at this below link

accessing-revit-context-menus 

 

I hope this helps.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes