Gets whether the specified command is enabled.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IsCommandEnabled( _
ByVal CommandID As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim CommandID As System.Integer
Dim value As System.Boolean
value = instance.IsCommandEnabled(CommandID) |
C# | |
---|
System.bool IsCommandEnabled(
System.int CommandID
) |
C++/CLI | |
---|
System.bool IsCommandEnabled(
& System.int CommandID
) |
Parameters
- CommandID
- Command ID as defined swCommands_e (see Remarks)
Return Value
True if the command is enabled, false if not
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0