Import or assign part images

Parts may have images assigned to them. Each part may have zero or more images. There are a few alternative ways to assign images to parts, and the images may be displayed at the part and in the gallery.

There is a difference between part and node image

Note that there is a difference between part images and node image.

  • A part may have images, and these image will be displayed when viewing the part or when expanding a part row in an assembly. It will not automatically display in the gallery.

  • A node may have one image. This image will be displayed in the gallery.

But if the node has mode "InheritPresentationInfo", name, identity, description and image of the presentation will be displayed in the gallery instead.

These options exist when assigning images to parts:

  • Add one image at a time by editing parts in the part storage.

  • Add several images at the time by importing part images in the part storage.

  • Assigning several images at the time to parts in the image storage.

In all the options, ensure to make part image visible in gallery if that is the intention as described below.

Adding one part image at a time

Step-by-step guide

  1. Ensure image exist in image storage.

  2. Open part storage and select the part.

  3. Click on "Add" in image section of the part pane as shown below and selec the image to be added to the part.



Importing part images

Use this method to import all images in a folder and assign all these images to parts. The matching is done between file name and part number, and each file must be named with the part number. If there are several images to a part, each part can be extended with <partno>_x to allow several images in the same part. The exact matching of file names on the images and the parts as well as allowed image types at import are defined in import.conig.

Step-by-step guide 

  1. Open part storage

  2. In context menu select "Import part images..."

  3. In the file select dialogue that appears, select a folder which contains the images.

  4. In the dialogue that appears select import options. Note that import is not enabled unless how conflicts shall be handled is selected. Se below for options.

Now all images in the folder will be imported and assigned to parts.

Assign part images

Use this method to assign images already in image storage to parts. The matching is done between file name and part number, and each file must be named with the part number. The exact matching of file names on the images and the parts is defined in import.conig.

Step-by-step guide

  1. Open image storage

  2. In context menu select "Assign images to parts..."

  3. In the dialogue that appears select if previous images shall be removed or not.

Now all images in the image storage will be traveresed and, if image file name matches part name according to import.config, assigned to parts.

Import options

Include sub directories

Import will traverse all sub folders of the selected folder to find images to import.

Remove previous images

if import first shall remove images of the parts before assigning new images to parts. Only parts which actually gets new images will get previous images removed.

Conflicts

Skip: if a part already has image, the part will not get the new image

Replace: new images will replace previous images

Update: new images will replace previous images (for images this option is the same as replace)

Showing part images in gallery

If part images are to show in the gallery, the nodes in the gallery has to have the same part images. This can be done in the following methods:

  • Find the node which has a reference to the part and select image on that node.

  • Find the node which has a reference to the part and set mode "InheritPresentationInfo" on that node.

  • Use drag and drop of the part to the catalogue. In this case the node will get the "InheritPresentationInfo" set automatically.