Example 1
PDMGetAllVaultsStatus()
Will retrieve the table of vault statuses:
{"Vault Name","Status","Root Path";"PDM","Connected","C:\PDM\PDM";"Secondary","Connected","C:\PDM\Secondary"}
This function will return an array of vault connection statuses for vaults specified in the PDM settings.
The SOLIDWORKS PDM Professional plugin must be installed and enabled for this function to calculate.
PDMGetAllVaultsStatus([Refresh])
Where:
Refresh (optional) is a value that refreshes the data.
PDMGetAllVaultsStatus()
Will retrieve the table of vault statuses:
{"Vault Name","Status","Root Path";"PDM","Connected","C:\PDM\PDM";"Secondary","Connected","C:\PDM\Secondary"}
PDMGetAllVaultsStatus(DWConstantRefresh)
Will retrieve the table of vault statuses each time the constant changes.
The secondary vault is now not connected.
{"Vault Name","Status","Root Path";"PDM","Connected","C:\PDM\PDM";"Secondary","Could not open database. This could happen if the network connection is broken or if the database has been removed.",""}