Post command

Post command

navyabasavaraju01
Contributor Contributor
3,133 Views
1 Reply
Message 1 of 2

Post command

navyabasavaraju01
Contributor
Contributor

I have one ribbon panel example "RBN_01" and "Command_01" is push button assigned in ribbon panel ,now my question is how to access the the "Command_01" in postable command.

 

below is the sample i am using to post the external commands.

string name
        = "87e0df5f-2bed-4f76-ad04-d647e53798eb";
            UIApplication uiapp = commandData.Application;
            RevitCommandId id_built_in
        = RevitCommandId.LookupCommandId(name);
            uiapp.PostCommand(id_built_in);

Can any one suggest me to how this can done.

 

Regards

Navya Bsavaraju

0 Likes
Accepted solutions (1)
3,134 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Yes.

 

 

Cheers,

 

Jeremy

 



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