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