Home Search

DriveWorks Pro 22
PDMGetFileDataCardValues

Send Feedback

PDMGetFileDataCardValues

Returns a table array of data card variables for the given file.

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

Syntax

PDMGetFileDataCardValues([File Path] , [Configuration Name)

Where:

File Path is the complete file path to the file in the local view.

Configuration Name (optional) is a SOLIDWORKS configuration name (Or sheet name for drawing) that the profile card data will be retrieved for. (Leave blank for non config/sheet specific values)

Example

RuleResultMeaning
PDMGetFileDataCardValues("C:\PDMVault\DataCards\Text.txt"){"Name","Value","Type";"Project number","0078","Text"}
PDMGetFileDataCardValues("C:\PDMVault\DataCards\Part.SLDPRT"){"Name","Value","Type";"Serial number","102547","Text"}
PDMGetFileDataCardValues("C:\PDMVault\DataCards\Part.SLDPRT", "Default"){"Name","Value","Type";"Serial number","102547-05","Text"}