Returns a table array of data card variables for the given file.
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)
Rule | Result | Meaning |
---|---|---|
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"} |