Home Search

DriveWorks Pro 23
PDMPro: Get Specific File Version

Send Feedback

PDMPro: Get Specific File Version

This Specification Flow Task will get the specific file version from inside the vault.

Note: Ensure the SolidWorks PDM Plugin Settings is set up and enabled.

Properties

Property NameDescription
Source File PathPath of the file to get the latest version of (must be inside vault).
VersionThe Version of the file to retrieve from the Vault (Use 0 (Zero) to get the latest version available).
Constant Name The name of the Constant into which the result should be driven (Optional).

Examples

When this task is added, the properties are static by default.

See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Source File Path"C:\VaultName\VaultFolder\MyPart.SLDPRT"C:\VaultName\VaultFolder\MyPart.SLDPRTThis is the file that you want to get the latest version for.
Version44Version 4 of the file will be retrieved from the vault.
Constant NameMyResultConstantMyResultConstantWhen the task is run, the result of whether the latest version of the file was successfully retrieved or not will be written to this Constant.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. They can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • Specified version of the file was successfully retrieved
  • Latest version of the file was successfully retrieved (If 0 (Zero) was used for the Version)
  • Specified version is already in the local view

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • File is not in the vault
  • File path is invalid
  • File path is empty
  • Get specific version failed. See the Specification report for details