Message 1 of 4
Bind Link with uiapp.PostCommand(

Not applicable
06-06-2018
11:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I can't seem to get bind link working through the uiapp.PostCommand(
The revit 2018 keyboard shorcuts gives:
CommandName: Bind Link CommandId: Dialog_Essentials_RvtLinkInstanceStdDbar:Control_Essentials_BindLinkAsGroup Paths: Contextual Tabs>Link
I'm not sure what to write as command_id or if any of the about should be written as a command id at all?
Can anyone tell me how I use the commanIds starting with "Dialog"
command_id= "meeeh?" found_id = RevitCommandId.LookupCommandId(command_id) uiapp.PostCommand(found_id)
I only get:
Exception: The comandId must be in Autodesk.Revit.UI.PostableCommand or an external command.
Am I on the right track using the 2018 Revit Keyboard Shortcuts PDF or is there a better way to find the command ids?