Drawing Picture Properties

This check verifies whether pictures in drawings use an allowed graphic file format.

If not, the check fails and an error appears.

This page discusses:

Context

You can also use this check to verify whether pictures are within a specified range of width and height in terms of number of pixels or length. For more information, see 3D Modeling | Mechanical Systems | Drafting | Drafting | Drafting Basics | User Interface | Feature Properties | Picture Properties.

If you use a drawing from another computer-aided design (CAD) system, you can insert the drawing as a picture into a drawing. The picture must contain all the relevant elements such as measurements, tolerances, borders, and title block. During the conversion, the picture might be converted into an unsupported format.

Note: If you want to export your drawing with pictures to other apps, verify that they support the graphic file format.

Check Information

Check Details Description
Applicable to: DrwPicture
Automatic Solution:
Check Parameters:
  • StdDrawingPicturePropNonAllwdFormats: Multi Value Parameter type.

    Specifies the non-allowed formats. For example: PNG, JPEG, CCITTG3.

  • StdDrawingPicturePropPixelWidthMax: Integer type.

    Specifies the upper limit of the allowed range of number of pixels for the width.

    Note: By default, the value is 100, and the minimum value is 0.

  • StdDrawingPicturePropPixelHeightMin: Integer type.

    Specifies the lower limit of the allowed range of number of pixels for the height.

    Note: By default, the value is 0, and the minimum value is 0.

  • StdDrawingPicturePropPixelHeightMax: Integer type.

    Specifies the upper limit of the allowed range of number of pixels for the height.

    Note: By default, the value is 100, and the minimum value is 0.

  • StdDrawingPicturePropCheckPixelSize: Boolean type.

    Specifies whether the pictures must be within the specified range of pixel size.

    Note: By default, the value is false.

  • StdDrawingPicturePropHeightMin: Length type.

    Specifies the lower limit of the allowed range of values for the height.

    Note: By default, the value is 0.0, the display unit is mm, and the minimum value is 0.

  • StdDrawingPicturePropWidthMin: Length type.

    Specifies the lower limit of the allowed range of values for the width.

    Note: By default, the value is 0.0, the display unit is mm, and the minimum value is 0.

  • StdDrawingPicturePropHeightMax: Length type.

    Specifies the upper limit of the allowed range of valus for the height.

    Note: By default, the value is 100.0, the display unit is mm, and the minimum value is 0.

  • StdDrawingPicturePropWidthMax: Length type.

    Specifies the upper limit of the allowed range of values for the width.

    Note: By default, the value is 100.0, the display unit is mm, and the minimum value is 0.

  • StdDrawingPicturePropCheckSize: Boolean type.

    Specifies whether the pictures must be within the specified range of size.

    Note: By default, the value is false.

  • StdDrawingPicturePropPixelWidthMin: Integer type.

    Specifies the lower limit of the allowed range of number of pixels for the width.

    Note: By default, the value is 0.0, and the minimum value is 0.

Check Failure Resolution

If the check fails, do one of the following:

  • Right-click the error element and select Properties. In the Picture tab, select a valid file format from the Compression list.
  • Convert the picture to a valid format outside the app.
  • Recreate the picture and save it in a valid format.