-PDFATTACH — Attach PDF (command line)
Attaches a page of a PDF file as an underlay, without dialog boxes.
- Command:
-PDFATTACH· Global name:_-PDFATTACH
Attaches a page of a PDF as an underlay answering everything on the command line, for scripts and AutoLISP. It does the same as PDFATTACH with the same prompts.
Usage
- Enter -PDFATTACH.
- Enter the PDF path (in quotes if it has spaces). Enter or
~open the file dialog.
Enter path to PDF file to attach or [Browse] <Browse>:
- Enter the page number;
?lists them.
Enter page number or [?] <1>:
- Specify the insertion point (the lower-left corner of the page).
Specify insertion point:
- Enter the scale.
Specify scale factor <1>:
- Enter the rotation angle.
Specify rotation <0>:
Example
In a script, -PDFATTACH followed by C:\plans\floor.pdf, 2, 0,0, 1 and 0 attaches page 2 at the origin, at scale 1 and without rotation.
Notes
- A page that does not exist, or a file that is not a readable PDF, is rejected and the prompt is repeated.