Runs the specified SolidWorks command.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RunCommand( _
ByVal CommandID As Integer, _
ByVal NewTitle As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim CommandID As Integer
Dim NewTitle As String
Dim value As Boolean
value = instance.RunCommand(CommandID, NewTitle)
|
Parameters
- CommandID
- SolidWorks command as defined in swCommands_e
- NewTitle
- Your title for this SolidWorks command
Return Value
True if the SolidWorks command ran, false if not
Example
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0