How to find RevitCommandId of all commands in single application?

How to find RevitCommandId of all commands in single application?

Anonymous
Not applicable
1,402 Views
1 Reply
Message 1 of 2

How to find RevitCommandId of all commands in single application?

Anonymous
Not applicable

Hello,

 

I have created one application consisting of multiple commands. I want to call command recursively for my task to get done. 

RevitCommandId.LookupCommandId("CommandName");

As above mentioned API is not useful for me as both command and application will have same GUID.

Please guide me for this.

 

TIA

0 Likes
1,403 Views
1 Reply
Reply (1)
Message 2 of 2

Moustafa_K
Collaborator
Collaborator

Hi,

I think this post have what you want

https://thebuildingcoder.typepad.com/blog/2013/05/external-command-lister-and-adding-ribbon-commands...

 

Hope that helps

 

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes