Home Search

DriveWorks Pro 24
PDMGetSerialNumberNames

Send Feedback

PDMGetSerialNumberNames

This function will return the serial number generators for the vault in use.

The SOLIDWORKS PDM Professional plugin must be installed and enabled for this function to calculate.

Syntax

PDMGetSerialNumberNames([Refresh], [Vault Name])

Where:

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

Vault Name (optional): The name of the vault to use. If no vault is given, the first listed in the plugin settings will be used.

Example

RuleMeaning
PDMGetSerialNumberNames()Will retrieve the serial numbers once a specification is started.

PartSerialNumber|AssemblySerialNumber|DrawingSerialNumber

PDMGetSerialNumberNames(DwConstantRefreshSerialNumbers)Will retrieve the serial numbers each time the constant changes.

PartSerialNumber|AssemblySerialNumber|DrawingSerialNumber

PDMGetSerialNumberNames(DwConstantRefreshSerialNumbers, "Shop Data")Will retrieve the serial numbers each time the constant changes, from the Shop Data vault.

PartSerialNumber|AssemblySerialNumber|DrawingSerialNumber