How do I generate an HTML-based 3D viewer for a 3D document during document validation?
The DocPublication task tool in myPDMtools allows you to generate an HTML file from a 3D document that does not require any special software to view. DocPublication uses eDrawings to generate this type of file. DocPublication tasks can be run automatically when a document’s status changes. Here are the steps to automate this process:
- Create a New PDM Task

- Enter a name for the task and select the myPDMtools add-on:

- Select a machine to perform the task:

- Next, the DocPublication tool:

- Check the box for "Export eDrawings to HTML" and then confirm the task:

- The final step is simply to execute the task that was previously configured for a document's state transition:

Here is an example of a file generated using eDrawings in DocPublication:
It's also worth noting that DocPublication allows you to generate several types of files as long as the eDrawings software is installed on the computer that generates them:
