Message 1 of 5
Run Dynamo Player via PostCommand?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
As part of a larger user friendly development, I am looking to add an action that will simply bring up the Dynamo Player (if it can go as far as running a specific script, great! If not just looking to bring up the dialog box for now). I have successfully ran other add-in commands via PostCommand using a text syntax retrieved from a Revit Journal file. In example:
string id = "CustomCtrl_%CustomCtrl_%Tab%Text%Text";
RevitCommandId commandId = RevitCommandId.LookupCommandId(id);
uiApp.PostCommand(commandId);
//"CustomCtrl_%CustomCtrl_%Manage%Visual Programming%Dynamo Player"; Does Not Work!
However, I can't seem to find the right syntax to launch Dynamo Player. There doesn't seem to be text with the same format when launching Dynamo Player, rather I've seen lines such as:
Jrn.Command "Ribbon" , "Launch Dynamo Playlist , ID_PLAYLIST_DYNAMO"
My question is if it is possible to launch Dynamo Player via PostCommand and if so, what is the right syntax I should direct the command to? Thank you.