Publish Files
Configure lifecycle definitions and file options to publish CAD files.
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
- PDF - PDF Options > Options to launch the PDF Options dialog and configure the PDF publishing options.
- DXF - DXF Options > Options to launch the DXF Options dialog and configure the DXF publishing options.
- STEP - STEP Options > Options to launch the STEP Options dialog and configure the STEP publishing options.
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.
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 (static text)
- Add a suffix (static text)
- Add a property value
- Add a date property
Navigate to the <install dir>\Autodesk\Vault Client <year>\Explorer\ directory and open the JobProcessor.dll.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=*.
There are three special keys in the naming:
<
_name_>
is replaced by the file name<
_ext_>
is replaced by the file extension<
_underscore_>
is replaced by character "_"
See the examples for the file, Flower.idw, shown below.
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_>< _underscore_>Suffix"/> | Flower_Suffix.pdf |
<add key="DesignRepresentation.Naming" value="\.(idw)$/<_name_>.<_ext_>"/> | Flower.idw.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"/> | Flower27-10-17.pdf where the Date Version Created is October 27, 2017 |
<
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>"/>