Get a command's ID or PropertyManager page's command ID, title, and whether it is active in the user-interface.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub GetRunningCommandInfo( _
ByRef CommandID As System.Integer, _
ByRef PMTitle As System.String, _
ByRef IsUiActive As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim CommandID As System.Integer
Dim PMTitle As System.String
Dim IsUiActive As System.Boolean
instance.GetRunningCommandInfo(CommandID, PMTitle, IsUiActive) |
C++/CLI | |
---|
void GetRunningCommandInfo(
& [Out] System.int CommandID,
& [Out] System.String^ PMTitle,
& [Out] System.bool IsUiActive
) |
Parameters
- CommandID
- Command's ID or PropertyManager page's command ID as defined in swCommands_e
- PMTitle
- Title of PropertyManager page
- IsUiActive
- True if command or PropertyManager page is active in the user-interface, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2011 FCS, Revision Number 19.0