Let me start to say that I really really do not like PDM add-ins. One of the things I do not like is the fact that the add-in code is being parsed at each user's action... I created this simple .EXE tool that can be triggered using Dispatch. Yes... I know... Dispatch is an add-in; it's an out-of-the-box add-in. It's optimized and supported by DS R&D.
pdmGetURL
This is an as-is application. No support is offered.
pdmGetURL.exe is a tool to get the URL of a file in a PDM Professional vault. This application requires SOLIDWORKS Enterprise PDM 2014 or higher.
Usage: pdmGetURL arguments
Valid arguments:
/{?|help} | Display help. |
/VaultName:"NAME" | Name of the vault, enclosed between double quotes if it contains spaces. |
/FilePath:"PATH" | Full path of the file in the vault, enclosed between double quotes. |
/Output:{mailto|gmail |none} | Specify how to send the URL. |
/Clipboard:yes | (optional) Copy the URL in the Windows clipboard. |
/Action:{explore|open |view|get|lock |properties|history}] | (optional) Specify which PDM action will be performed by the URL. |
/Output:
mailto | Use default email application to send the URL. |
gmail | Open a browser to https://mail.google.com to send the URL. |
none | Do nothing. Useful when using /Clipboard:yes |
/Actions:
explore | (default) Opens an explorer window in the folder the file resides and selects the file. |
open | Opens the file in associated application. |
view | Opens the configured PDM “Viewer” for the file. |
get | Triggers a 'Get' of the file to the local file vault view. |
lock | Checks out the file. |
properties | Opens the file properties data card. |
history | Brings the file history. |
See attached documents for more details.
Remember: This is an as-is application. No support is offered.
-Sylvain
SolidworksSolidworks Pdm enterprise Pdm