startCommand
startCommand: (commandId: string, iModelKey: string, ...args: any[]) => Promise<any>
Start a new instance of an EditCommand
on the backend, and then call its onStart
method.
@note The current EditCommand
(if one is active) is asked to finish and clean up its operation via EditCommand.requestFinish
before the new EditCommand
is constructed. If it cannot finish immediately, it may return a string that identifies
the work it is performing for EditTools.busyHandler
to retry and/or display.
Defined in
- EditorIpc.ts Line 31
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.