Description
Displays information about the specified file.
For exact-path validation and structured identity, workflow, checkout and cache information, use fileinfo. print remains available for its existing console-output workflow.
Syntax
print [-filePath|-id]
Parameters
| Parameter | Alias | Required | Description |
|---|---|---|---|
-filePath |
-f |
No | The file to print. |
-id (default) |
Yes | PDM internal ID of the file to print. |
Examples
print -filePath "C:\SOLIDWORKSPDM\Bluebyte\API\Sandbox\fidget spinner\___108545.SLDPRT"
The print command will print an output like the following:
File Name : ___108545.SLDPRT
Local Path : C:\SOLIDWORKSPDM\Bluebyte\API\Sandbox\fidget spinner\___108545.SLDPRT
Folder Path : \API\Sandbox\fidget spinner
File ID : 115310
Folder ID : 457
HEXID : 1C26E
Archive Path : E\0001C26E
Checked out? : False
State ID : 158
State Name : New State
Current state : New State [Workflow: Vaulted]
Current Ver : 7
Current Rev :
Transitions :
Return Engineering [193] From New State [158] To In Design [9]