Configure lifecycle definitions and file options to publish CAD files.
Note: You must have administrative access to perform these tasks.
- Create a user with access to Released files. See
Assign Roles to Users for more information.
- Configure lifecycle definitions.
- Click Tools > Administration > Vault Settings.
- On the Vault Settings dialog, select Behaviors > Lifecycles.
- Select the definition to be modified > Edit.
- On the Lifecycle Definition dialog, select the Transitions tab > Work in Progress to Released > Edit.
- On the Transitions dialog, select the Actions tab.
- From the drop-down,
- Select Synchronize properties and update the selected file types using Job Server.
- Click on the ellipses (...) button and select the file type.
Note: Selecting the option from the list does not automatically select the check box as well. Make sure to select the check box beside the option, too.
- From the Security tab, add the user created in Step 1, and allow Modify access under the Released state.
- On the Lifecycle Definition dialog, select Design Representation Process > Edit.
- On the Lifecycle Definition dialog, select the Released state.
- Select the Security tab, add the user created in Step 1 and assign it Modify access. See
Edit Lifecycle State Security for more information.
Note: You can create PDF, DXF, or STEP file at any lifecycle state.
Sync state job fails if you do not have adequate permission for a particular state to be set on a file, for example, you do not have the modify access on the Released state.
- To enable the job server, click Tools > Administration > Global Settings > Integrations tab > Enable Job Server.
Note: For Job Processor to generate DWF and 2D PDF files, launch AutoCAD DWG Trueview at least once on the Job Processor.
- Click Tools > Administration > Vault Settings
- Publish a PDF, DXF or STEP file from a CAD file.
- Select any AutoCAD DWG file or Inventor CAD file.
- Click Change Category. On the Change Category dialog, select the Engineering category. Click OK.
- Click Change State. On the Change State dialog, select Released from the lifecycle state drop-down. Click OK.
This generates a PDF, DXF, or STEP file as an attachment to the selected file. Also, a thumbnail for the file displays in the Preview tab.
Note: To synchronize the revisions of the drawing file and CAD file, set each file's lifecycle revision to be the same.
Note: To verify the Design Representation classification, click Tools > Administration > Vault Settings > Behaviors > Rules. On the Assignment Rules dialog, view the Rule Criteria for Design Representation.
File Naming
You can affect the output file names by editing the Job Processor configuration file: JobProcessor.exe.config. The following are supported:
- Remove the source file's extension, such as .idw or .dwg, from the file name
- Add a prefix
- Add a suffix
- Add a property value
- Add a date property
- Navigate to the <install dir>\Autodesk\Vault [edition]\Explorer\ directory and open the JobProcessor.exe.config file with Notepad.
Important: Create a backup copy of the file before making any changes.
- Find the "<add key=>" section in the file.
- Add a line using the format
<add key="DesignRepresentation.Naming" value=. See the examples for the file,
Flower.idw, shown below.
Note: The table below displays result for PDF file. Similar results are generated for DXF and STEP file too.
| Key
|
Result
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_>"/>
|
Flower.pdf
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/Prefix<_name_>"/>
|
PrefixFlower.pdf
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_>Suffix"/>
|
FlowerSuffix.pdf
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/Prefix<_name_>Suffix"/>
|
PrefixFlowerSuffix.pdf
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_><Revision>"/>
|
FlowerB.pdf where Revision=B
|
| <add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_ ><Provider>"/>
|
FlowerAutoCAD.pdf where Provider=AutoCAD
|
<add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_ ><DateVersionCreated>"/>
<add key="DesignRepresentation.Naming.DateFormat" value="dd-MM-yy"/>
Note: Add both lines. Use dd=day, MM=month, and yy=year to format the date. (MM must be uppercase)
|
Flower27-10-17.pdf where the Date Version Created is October 27, 2017
|
Note: Some editors automatically convert "<" to "<" and ">" to ">". This may cause the Job Processor to fail. It is recommended that you use an editor that maintains "<" and ">", such as Notepad. The line can contain only the "<" at the beginning and the ">" at the end.
You can add only one line for Design.Represenation.Naming, so combine rules as needed, separating each with a slash. For example:
<add key="DesignRepresentation.Naming" value="\.(dwg)$/<_name_><Provider> /\.(idw)$/<_name_><Revision>"/>
Note: To add other property values, such as Provider, Company, etc, look up the System Name/Display Name of the property. For Vault System Properties, use the System Name and for User Defined Properties, use the Display Name.
Note: If you have configured the output file naming, then the existing output file in vault, if any, may not be updated and a new output file will be created with the edited file name. For instance, if you append "Revision" to the output file name, then the output created for a revised drawing file will be a new file in vault. You won't be able to use and update the previous output file.