This function will return the serial number generators for the vault in use.
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.
| Rule | Meaning |
|---|---|
| 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 |