Zum Hauptinhalt springen
PdfImport
Vor über einer Woche aktualisiert

Imports a PDF and converts its content to simple CAD entities; also converts a PDF underlay already attached to the drawing to CAD entities.

Note: This command performs the following conversions:

PDF Entity

CAD Entity

Straight and curved lines

Polylines or splines

SHX text

Polylines

TrueType text

MText

Solid-filled areas and wide lines

Hatches (solid color) with 50% transparency

Raster images

Raster images

Layers

Layers

Lines with linetypes

Polyline segments

Accessing the Command

Command bar: PdfImport
Ribbon: Insert | PDF | PDF Import

: pdfimport

Prompts you:

Select pdf underlay or [File] <File>: (Select a PDF underlay in the drawing, or else enter F to access the file dialog box)

When you select an underlay already in the drawing, the program prompts you:

Specify first corner of area to import or [Polygonal/All/Settings] <All>: (Pick a point, or enter an option)

Specify the opposite corner: (Pick another point to specify the size of the PDF)

Keep, Detach or Unload PDF underlay? [Keep/Detach/Unload] <Unload>: (Enter an option)

When you select a PDF file, the program prompts you:

Specify page number to import or list pages [?/Settings] <1>: (Enter a page number, or else enter an option)

Specify insertion point <0, 0>: (Pick a point, or else enter x,y,z coordinates)

Specify scale <1.>: (Specify a scale factor)

Specify rotation <0.>: (Specify a rotation angle)

Command Options

When you want to convert an attached PDF underlay to CAD entities:

Underlay Option

Description

Specify first corner of area to import

Picks the first of two points to convert a rectangular area of an underlay to CAD entities:

  1. Pick a point in the drawing or specify x,y coordinates

  2. Prompts you:
    Specify the opposite corner - pick the other point to form a rectangular area

Polygonal

Picks three or more points to convert a polygonal area of an underlay to CAD entities:

  1. Specify first point - pick a point on the PDF or else or specify x,y coordinates

  2. Specify next point or [Undo] - pick another point, or enter U to undo the last segment

  3. Specify next point or [Undo] - pick another point, or else press Enter to continue

When you pick points that are not on the PDF, the program ignores your pick points, and you have to pick more.

All

Selects the entire PDF underlay for conversion to CAD entities.

Settings

Displays the PDF Import Settings section of the Settings dialog box; see below.

Keep

Keeps the PDF underlay in place, in addition to converting its vector portions to CAD entities.

Detach

Detaches the PDF underlay so that it is not longer a part of the drawing

Unload

Unloads the PDF underlay so that it is no longer seen in the drawing, but is still attached to the drawing.

When you want to convert a PDF file to CAD entities:

Import Option

Description

Specify page number to import

Imports a specific page from the PDF file:

  • Press Enter to import page 1, especially useful when the PDF file contains just one page

  • Press ? (question mark) to list the page numbers in the PDF document; see below

  • Specify the page number, such as 3.

?

Lists the page numbers in the PDF document; prompts you:

  • Page(s) to list <* for all> [*] - press Enter, and then press F2 key to see the list in the Prompt History window, such as this:
    1
    2
    3
    4

To view the content of the pages before importing them, use File Manager's preview window or a PDF viewing program like Acrobat.

Settings

Displays the PDF Import Settings section of the Settings dialog box; see below.

Specify insertion point

Specifies the insertion point in the drawing:

  • Press Enter to accept the default of 0,0

  • Pick a point in the drawing

  • Enter x,y coordinates for the lower left corner of the imported file

Specify scale

Specifies the scaling factor for the inserted geometry:

  • Press Enter to accept the default of 1

  • Enter a scale value

You cannot pick points in the drawing to show the size

Specify rotation

Specifies the rotation angle:

  • Press Enter to accept the default of 0 degrees

  • Enter an angle

You cannot pick points in the drawing to show the angle

When you select the Settings option, the program displays the PDF Import Settings section of the Settings dialog box:

Settings Option

Description

Layers

Determines how PDF layers are handled:

  • 0 - use the layers in the PDF files; incoming layer names are prefixed with 'PDF-', such as
    PDF_A-ANNO-DIM
    PDF_A-STAIR
    PDF_DOOR

  • 1 - segregate entities on separate layers, such as
    PDF_Geometry
    PDF_Images
    PDF_Text
    PDF_Solid Fills

  • 2 - place entire PDF on the current layer

Vector Geometry

Determines if vector geometry is imported:

  • Yes - imports and converts vector geometry

  • No - does not import vector geometry

Solids Fills

Determines if filled areas are imported:

  • Yes - imports and converts solid fills, such as filled areas and wide lines into hatches

  • No - does not import solid fills

Hatched areas are given 50% transparency,

TrueType Text

Determines if TrueType text is imported:

  • Yes - imports TrueType text and assigns them style names based on the font name, such as:
    PDF Arial
    PDF Arial Bold
    PDF Times New Roman Bold

  • No - does not import text

SHX text is converted to polylines

Raster Images

Determines if raster images are imported:

  • Yes - attaches raster images

  • No - does not import raster images

Raster images are saved as PNG files in a folder.

Import as Block

Imports the PDF and inserts it as a block.

Join Line and Arc Segments

Attempts to join lines and polylines into a single segment, when possible.

Convert Solids Fills to Hatches

Converts solid fills into hatched areas

Apply Lineweight Properties

Gives imported lines with weight (width) a lineweight

Import TrueType Text as Geometry

Imports TrueType text as geometry, as is done with SHX text. The benefit here is if you do not have matching fonts.

Related Commands

Pdfattach - inserts a PDF file as an underlay into the current drawing; displays dialog boxes.

-PdfAttach - inserts a PDF file as an underlay into the current drawing; displays prompts in the command bar.

Hat dies deine Frage beantwortet?