IMPORT
Reads a file and places it in the drawing: a drawing file as a part, any other format as a vector image.
Syntax
IMPORT "path",[origin,direction]
IMPORT "path",[bottomLeft,bottomRight]
IMPORT "path",[bottomLeft,bottomRight,topRight,topLeft]
IMPORT "path",[points],layer
IMPORT "path",[points],layer,EMBEDDED=FALSE
| Argument | Meaning |
|---|---|
| path | The file, in double quotes. Write each \ in it as \\. It may be a web address (http:// or https://). |
| [origin,direction] | For a drawing file (.piq): where the part goes, and which way its X axis points. |
| [bottomLeft,bottomRight] | For any other format (DXF, DWG, CF2, DDES3, PDF, EPS, Illustrator, SVG, HP-GL, G-code): the bottom edge. The top corners are new points, as high as the drawing's own proportions make it. |
| [… four corners] | For any other format: all four corners. |
| layer | The layer to put it on (optional: the current layer). |
EMBEDDED=FALSE |
Linked: the part or vector picture reads the file again whenever the drawing is read (optional: kept in the drawing). |
Examples
P4=[600,0]
P5=[700,0]
IMPORT "C:\\Parts\\lock-tab.piq",[P4,P5]
IMPORT "C:\\Art\\logo.dxf",[P0,P1],1
Notes
The file is read when the command is carried out and kept in the drawing, which holds the PART or VECTORIMAGE it
made (naming the file as its source), not the IMPORT. With EMBEDDED=FALSE the drawing keeps only the file's name, and
reads it whenever it is opened: see Linked files and web addresses. Undo removes it, and any points made
for it, in one step.
A relative path ("parts/tab.piq", with / or \\ between folders) is read from the drawing's own folder; a
drawing not saved yet reads it from the app's working folder. A drawing opened from a file asks before reading a file
outside its own folder, and can be opened without it: see Files a drawing reads. An ArtiosCAD
file (.ard, .mfg) isn't read: export CF2, DDES3 or DXF from ArtiosCAD (see
Drawings from other programs).
See also: Part Import Tool, Vector Import Tool.