Complete the code to activate the CommandManager in SolidWorks.
swApp.[1].ActivateCommandManager()The CommandManager is the main toolbar in SolidWorks. Activating it uses the CommandManager property.
Complete the code to show a specific toolbar named 'Sketch' in SolidWorks.
swApp.Toolbars.[1]("Sketch").Visible = True
The Item method accesses a toolbar by name in the Toolbars collection.
Fix the error in the code to add a new toolbar button to the CommandManager.
cmdMgr.[1](cmdID, "ButtonName")
The correct method to add a command item to the CommandManager is AddCommandItem.
Fill both blanks to create and show a new toolbar named 'CustomTools'.
Dim newToolbar = swApp.Toolbars.[1]("CustomTools") newToolbar.[2] = True
Use Add to create a new toolbar and set its Visible property to True to show it.
Fill all three blanks to remove a toolbar button by its ID and refresh the CommandManager.
cmdMgr.[1](buttonID) swApp.CommandManager.[2]() swApp.CommandManager.[3] = True
Use RemoveCommandItem to remove the button, Rebuild to refresh the CommandManager, and set Visible to True to show it.