About Drawing Representations

Before exporting a drawing representation to some of the raster or vector formats available, additional actions might be needed.

For an exhaustive list of formats, see Drafting User's Guide: Managing Drawing Representation.

This page discusses:

About Rotation Angles

When an image in a drawing has been vertically or horizontally rotated, only the following fixed angles (in degrees) are supported when exporting to a vector or raster format:

  • 0
  • 90
  • 180
  • 270

Raster Formats

Before exporting a drawing representation to HPGL2, SVG, PDF, or TIFF format, additional actions might be needed.

HPGL2

When saving to this format, a gridding process is applied. By default, the HPGL2 format is defined to encode decimal values with a precision up to 1/40th mm. This implies, for example, that line extremities might be slightly shifted depending on their approximation on a 1/40th mm spaced grid.

SVG

Before exporting, access the Graphics Formats tab to define the parameters to be applied when saving the document in SVG format.

PDF

By default, exporting a drawing representation to PDF format generates as many .pdf files as there are sheets. Each file name is suffixed with "_Sheet_sheetnumber.pdf", for example "MyDrawing_Sheet_1.pdf", "MyDrawing_Sheet_2.pdf", etc. To generate a single .pdf file containing all the sheets of the drawing representation, select the Save multisheet document in a single file check box. You can also save a drawing representation containing OpenType fonts (OTF). OTF contained in drawing representations are embedded as a true type font definition in the generated .pdf file. However, OTF cannot be embedded if you are using a Japanese computer. In that case, the text in OTF is tessellated and therefore, the characters of the resulting .pdf file are not editable. For more information about OpenType fonts, see About Fonts.

Important: When .pdf documents generated with Adobe Acrobat 7.0 are inserted in a drawing representation, the horizontal/vertical ratio is not kept when dragging the mouse to perform a selection.

TIFF

This format requires external options to be defined either by setting or exporting environment variables, or by editing an external configuration file.

The environment variables you need to set or export are detailed hereafter:

NameDescriptionValue
PRINT_CAPTURE_ RASTERFORMATRaster formatTIFFTrue color compressed
TIFFTCPBTrue color PackBits compressed
TIFFINDEXIndexed (256 colors) uncompressed
TIFFPBIndexed (256 colors) PackBits compressed
TIFFGREYGreyscale PackBits compressed
TIFFBWPBBilevel (black and white) PackBits compressed
TIFFG4Bilevel G4 Fax compression
PRINT_CAPTURE_DPIDPI value0.0 < DPI <= 450.0 (default is 150.0)
PRINT_SETTING_PATHExternal path name for print/capture options

Set PRINT_SETTING_PATH="e:\temp".

The file e:\temp\CATPrint.ini is used as configuration file.
PRINT_CAPTURE_MODESave mechanismPRINTFile is saved using a print mechanism: when saving a drawing representation in TIFF format, only the sheet is saved, not the grid and the elements outside the sheet.
TILEDFile is saved using a capture mechanism, for example when saving a drawing representation in TIFF format, the grid and the sheet border are saved.

To export a variable, run the following command:

On Windows:

set variable_name=variable_value (for example set PRINT_CAPTURE_DPI=200)

To know how to set a variable, see Installation and Administration: 3DEXPERIENCE Platform: 3DEXPERIENCE Platform Installation: Native Apps Installation: Configuring the Software: Configuring Environments.

The configuration file is named CATPrint.ini and is located by default in a temporary directory. To modify the default location, export the PRINT_SETTING_PATH environment variable.

Important: When printing a large drawing representation with a high resolution (> 250.0 DPI) image, memory and CPU consumption increase very quickly. As a consequence, printing such an image may be impossible on low system environments unless you work with an optimized configuration (CPU + memory). On 64-bit operating systems, more correct results could be obtained.

Color

When exporting a drawing representation to a vector (cgm, .svg, .pdf, etc.) or raster (.tif, .jpg, etc.) format, elements in a white color are always saved in a black color.

The only way to save white elements with the same color is to print the drawing representation to a file with the Print white vectors in black check box cleared in the Options dialog box: the generated file shows white elements in a white color. See also Raster.

No configuration can be applied when saving a drawing representation in a vector format. The following default properties are used:

OptionDefault Value
BannerNo banner visible
Clip to sheet formatYes
Color type for the imageTrue color
Detail sheetPrinted
Gamma factor1.0
Image Orientation0 degree
Line endFlat
Line width specificationAbsolute
Linetype overlappingNot processed
Linetype specificationAbsolute
LogoNo logo visible
Page SetupUse sheet format (no margins)
Print AreaWhole document
Rendering modeDefault
Text blankingNo blanking applied
Text scalingYes
White vectors in blackYes

CGM Format

Standard CGM supports 5 linetypes (solid, dot, dash, dash dot and phantom). When these linetypes are saved, graphic primitives are not tessellated.

For other linetypes (for example "small dot"), graphic primitive are tessellated and the display depends on the viewer.