Creates the specified command for the command window with support for the specified context-sensitive (F1) help.
.NET Syntax
COM native C++ | |
---|
HRESULT CreateCommand4(
const dsString& ApiUuid,
,
const dsString& GlobalCmdName,
,
const dsString& LocalCmdName,
,
long HelpID,
,
long ProductID,
,
dsCreateCommandError_e* Error
ICommand** Cmd
) |
C++ | |
---|
DSRESULT CreateCommand4(
BSTR ApiUuid,
,
BSTR GlobalCmdName,
,
BSTR LocalCmdName,
,
LONG HelpID,
,
LONG ProductID,
,
dsCreateCommandError_e* Error
dsCommand** Cmd
) |
Parameters
- ApiUuid
UUID of the add-in or non add-in application
- GlobalCmdName
- Unique name for the global command, which is not displayed to the user but which can be used as input
- LocalCmdName
- Unique name for the localized command, which is displayed to the user and which can be used as input
- HelpID
- ID of the context-sensitive help topic to open when F1 is pressed
- ProductID
- Product ID of the system help
- Error[out]
- Status of creating the command as defined in dsCreateCommandError_e
Parameters
- Cmd[out] or Return Value
- Command
Remarks
See Also
Availability
DraftSight 2019 SP0