Home Search

DriveWorks Pro 24
PDMPro: Get the File Data Card Values

Send Feedback

PDMPro: Get the File Data Card Values

Returns the values from the target file's data card for an optional specified configuration/sheet.

Properties

Property NameDescription
Source File PathThe full file path to the file whose data card to retrieve.
VersionThe version of the file to retrieve. Blank or zero (0) will return the latest.
Configuration or Sheet NameThe name of the configuration or sheet on the data card you want to retrieve. Leave blank for the default.
Constant NameThe name of the Constant into which the result should be driven (Optional).

Examples

Property NameExample RuleMeaning
Source File Path"C:\PDM Vault\DriveWorks\MyPart.sldprt"The information for the file ‘MyPart.sldprt’ will be returned in the information output.
Version0Will return the latest version.
Configuration or Sheet Name“Long”Will return the “long” configuration for the MyPart.sldprt
Constant NameDWConstantResult This will drive the result of the task in the 'Result' 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.

Output

  • Information

    A three-column array (Name, Value, Type) containing the data card property, its value, and the data type.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs.

The status output navigation is as follows:

Success

  • Successfully retrieved data card values for the file with the given configuration

Success with Warnings

  • N/A - Should never be fulfilled

Failed

  • Unable to retrieve the data card values for the file with the given configuration (see report for details)