1.3.5.3.  Edit documents in product

On the Edit product documents [Edit documents in product] dialog page, you can add geometries, preview images and technical drawings.

Complete process using the example of adding geometry [Add geometry]:

  1. Select a product line and click on the context menu command Edit product documents [Edit documents in product].

    -> The same-named dialog box opens.

  2. Click on Add geometry.

    -> An Explorer window opens.

    Choose the desired document.

    [Note]Note

    A native document must be selected at this point.

    -> The Document CAD Options [Document CAD options] dialog box opens.

  3. Activate the Import CAD file [Import CAD File] option and click OK.

    [Note]Note

    You can see the difference between the option Neutral format (.zjv) and Create preview image of CAD file [Create neutral format (.zjv) and preview image from CAD File] and the option Import CAD file [Import CAD File] when uploading to the server in the log. The native document is only included with Import CAD file [Import CAD File].

    If the Import CAD file [Import CAD File] option is selected, .zjv and the preview image are also generated.

    -> The document is entered in the Edit product documents [Edit documents in product] dialog.

    Close the window by clicking on OK.

  4. Perform the procedure at all desired products.

  5. Then click on the button in the product view Create geometry and preview image from CAD file [Create geometry and preview from CAD Data].

    [Note]Note

    The geometry must be available before you can call up the Create geometry and preview image from CAD file [Create geometry and preview from CAD Data] function! Otherwise an error message will appear at this point.

    -> The Geometry selection dialog box opens.

  6. Select the appropriate option (in this example, the preview image and geometry (.zjv) should only be generated for the selected product) and confirm by clicking OK.

    -> The Format selection dialog box opens.

    Activate the appropriate option and confirm by clicking OK.

  7. The dialog box for batch export options opens.

    As a rule, you can leave the default settings as they are. Confirm by clicking on OK.

    -> In the Edit product documents [Edit documents in product] dialog box, you will see the following files:

    • Native file

    • zjv file

    • File of preview image

Result:

You can recognize the successfully passed through process at the displayed preview image.

Preview image exemplarily added for one line

Preview image exemplarily added for one line

The process is similar for Add technical drawing [Add technical view] and Add preview image.

Import of Multipage TIFF and SVG for technical views

When importing technical previews to a whole class (prj) or a single dataset, you can also use Multipage TIFF and SVG.

The call is made in PARTdataCenter via context menu command Edit product documents [Edit documents in product] -> Add technical drawing [Add technical view].

Edit product documents [Edit documents in product] -> Add technical drawing [Add technical view]

Edit product documents [Edit documents in product] -> Add technical drawing [Add technical view]

However, this requires the installation of ImageMagick, which is used to convert the added files into PNG format.

To convert SVG, please set the following block in $(Cadenas_user)/partdatacenter.cfg and adjust the path to ImageMagick according to your installation.

[conversion:svg]
program=C:\Program Files\ImageMagick-7.0.10-Q16-HDRI\magick.exe %path% %targetpath%
format=png

(%targetpath% is a placeholder for the temporary file which is then created by the code.)