Home Search

DriveWorks Pro 24
PDMGetAllVaultsStatus

Send Feedback

PDMGetAllVaultsStatus

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.

Syntax

PDMGetAllVaultsStatus([Refresh])

Where:

Refresh (optional) is a value that refreshes the data.

Examples

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"}

Example 2

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.",""}