Gets the SolidWorks resource ID for an add-in's
CommandManager-style toolbar button.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetCommandID( _
ByVal ClsID As String, _
ByVal UserCmdID As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISwHtmlInterface
Dim ClsID As String
Dim UserCmdID As Integer
Dim value As Integer
value = instance.GetCommandID(ClsID, UserCmdID)
|
Parameters
- ClsID
- Add-in's class ID
- UserCmdID
Unique ID that the add-in application identified as a CommandManager-style toolbar button
Return Value
Currently bound ID for the CommandManager-style toolbar button
Example
See Also
Availability
SolidWorks 2006 SP3, Revision Number 14.3