Preview

Предыдущая страницаВ началоСледующая страница

The command for creating a preview can called in one of the following ways:

Icon

Ribbon

Preview3

Tools > Special Data > Preview

Keyboard

Textual Menu

<PV>

Tools > Special Data > Preview

Preview is a vector graphic (T-FLEX CAD Metafile) or bitmap (Windows BMP) image of an arbitrary size saved together with the drawing file. The preview is displayed in the preview pane in the Library Explorer window.

Preview can be created automatically. The regime of automatic icon creation is set in the command Set Document Parameters (Save tab).

Creating preview

Upon calling the command, a dialog box appears on the screen.

Preview1

This dialog box serves for creating a preview (in the BMF or BMP format) importing a preview from an external file and exporting a preview into an external file.

A preview (bitmap) stored in an external file can be edited using a graphic editor, such as Paint.

Creating preview in the T-FLEX CAD Metafile (BMF) format is possible only upon invoking the command from 2D window. Such preview is created on the basis of the image of the active 2D page of the current document. The area of the page, the image of which will copied into the preview, can be determined by the system automatically or specified by the user.

For automatic determination of the area of the drawing for which preview is created, the Save Automatically flag should be enabled. The state of the toggle below the flag determines how the system will select the area:

By Window Size. The preview image is created by the image of the current 2D window;

Maximize Image (By image size). The preview image is generated by the whole image of the current page of the drawing;

By Paper Size. The preview image is created by the image of the drawing found itself within the drawing border of the given page.

After turning on the Save Automatically flag and setting up the desired toggle state, it is enough to press OK and the preview will be created in the current document.

To manually specify the area of the drawing, the Save Automatically flag should be turned off. In this case, after pressing OK and closing the Preview dialog window, in the 2D window it is necessary to  specify the rectangular domain of arbitrary size. To do it, bring the cursor to one of the corners of the intended rectangle and press Левый клик Текст, then bring the cursor to another corner and press Левый клик Текст again. After that, the preview creation will be completed.

Preview in the raster Windows Bitmap (BMP) format can be created when invoking the command both from the 2D or 3D window. As in the previous case, the preview is created on the basis of the whole image or part of the image of the active 2D page. The used area of the page can be determined by the system automatically or specified by the user.

The size of the created raster picture (in pixels) is specified via the group of parameters Bitmap Size. The same parameters determine the dimensions of the rectangular box which is used for specifying manually the area of the drawing for creating the preview.

Creating preview with automatic determination of the area of the drawing is carried out in the same way as for the BMF format: it is necessary to set on the Save Automatically flag, select the desired approach for determination of the area of the drawing and press OK.

For manual specification of the area of the drawing, the Save Automatically flag should be turned off. After pressing OK and closing the dialog window of the command, a rectangular box attached to the cursor will appear on the screen (its size will coincide with the size of the picture being created). To create preview, bring the box to the desired area of the 2D window and press Левый клик Текст.

The settings of the command Set Document Parameters can be disabled in favor of the described command settings. This will happen if you use the None or Auto value in the Save combo box on the Save tab of the command Set Document Parameters. Upon confirming the parameter settings, a message would be displayed that the preview would be created manually.

The preview created in the current document can be exported to the external file of the BMF or BMP format (according to in which format the preview of the current document was created). And vice versa, any picture from the external file of the BMF or BMP format can be imported to the current document. To do it, after invoking the command, select in the list the required operation Save preview, and then in the appeared standard window for saving/opening files specify the name of the external file.

The preview saved in the external file of the BMP format can be edited by using tools of any graphics editor.