Has anyone created or come across a way to check in or check out parts, assemblies and drawings with one hot key or macro within SolidWorks? For instance a hot key to check out a drawing is not the same hot key to check out a part or assembly. Same with check in. Ideally check out and check in can be the same exact hot key for all ".sld" file types, just do the opposite of what it's current state is.
On the macro side I've found that ReloadOrReplace works with parts and assemblies, but then drawings use CloseAndReopen. This would be fine if it saved modifications to the drawing when you use CloseAndReopen to check out the file, but it doesn't save the changes like the PDM add-in does. So without digging into the PDM add-in I was wondering if anyone else has created this macro or found a work around to limit the amount of work it takes to check in and out files within SolidWorks?
-JP
SW & EPDM 2015
SolidworksSolidworks Pdm enterprise Pdm
Right click on a SolidWorks toolbar and select Customize (You must have a file open first). On the 'Keyboard' tab you can select the Enterprise PDM category and assign hotkeys. Unfortunately you cannot assign the same key to both commands.
Also keep mind you can right click on the part or drawing and check them out/in as well. This can be done in the PDM tree on the right in the task pane, on the left feature tree by right clicking the top node representing the file, from the graphics view, or from the 'Enterprise PDM' menu.
As I said originally the hot keys change based on whether its a part file, a drawing file, or an assembly file. So as far as I am aware, there would essentially be 6 hot keys to do everything that one hot key or click could do. In relation to your second comment, yes there is at least 4 ways to check in/out files from the SolidWorks interface that at minimum require at least 2 clicks and mouse travel. The point of my post was to ask if anyone had a work around or a macro/add-in that simplified this task to one or two events.
Odd that it would not assign this across parts.assemblies and drawings. This appears to be a bug because if I assign a SolidWorks hotkey to say "Save all", it works in all 3 modes and I only assigned it once, not 3 times.
When I go to customize, keyboard, and select the drop down for category there is no option for Enterprise PDM. I do have SolidWorks PDM Client checked off in Add-ins. Is there something else I need to check off to activate it?
In 2016 they moved it from it's own category to under the tools category. This follows the same suit as the interface.
Thanks, Jacob. I wasn't expecting it under that category.
This still has not been resolved