You are here: Home » Macro Library » Run individual SolidWorks commands
Hello, I am trying to run the Select_All Command with this code. Any ideas how to get this to work?
Hi Sidney,
If you are trying mimic Edit–>Select All then you need to use the Edit_Select_All command like this:
swApp.RunCommand swCommands_Edit_Select_All, Empty
I am not exactly sure what context swCommands_Select_All is supposed to be used in. Perhaps while a particular PMP is open?
Thanks, Keith
You must be logged in to post a comment.
Hello, I am trying to run the Select_All Command with this code. Any ideas how to get this to work?
Hi Sidney,
If you are trying mimic Edit–>Select All then you need to use the Edit_Select_All command like this:
swApp.RunCommand swCommands_Edit_Select_All, Empty
I am not exactly sure what context swCommands_Select_All is supposed to be used in. Perhaps while a particular PMP is open?
Thanks,
Keith