Home Search

DriveWorks Pro 24
PDMPro: Get the File Information for a file

Send Feedback

PDMPro: Get the File Information for a file

Returns an array of information about the targeted file.

Properties

Property NameDescription
Source File PathThe full file path to the file whose information to retrieve.
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.
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 two-column array (Name, Value) containing the file property and assigned value.

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 File Information for the file

Success with Warnings

  • N/A - Should never be fulfilled

Failed

  • Unable to retrieve File Information for the file (see report for detail)