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 the SOLIDWORKS PropertyManager page, if invoked by this command
Return Value
True if the SOLIDWORKS command ran, false if not
Example
See Also
Availability