AutoCAD Drawing Object
Use
You can import and view AutoCAD Drawing Object (.dwg) files. You can also save files to this format.
AutoCAD Drawing Object is a binary format only and is the principle data exchange format used by AutoCAD. It contains a complete description of the AutoCAD drawing, including the model and layouts, viewports and layers. A .dwg file contains a number of entities representing the model geometry such as curves, lines, solids, polygons, and blocks that form a model hierarchy. All this information is read from the file and used to construct a scene that matches the original drawing as closely as possible.
Supported
-
Layouts imported as portfolios
-
Each layout contains at least one model view - the master view
-
Empty paper-space layouts are ignored
-
- Named views, for both model- and paper-space layouts, imported as extra model views in the layout portfolio
-
Block hierarchy imported as nodes
-
Block attributes imported as node metadata
-
Drawing attributes imported as scene metadata
-
Layers can be seen in the Layers panel
-
Frozen layers are ignored
-
-
Cameras
-
XRefs
-
Parts data
-
2D and 3D entities and geometry
-
Geometry representation of entities read as meshes or 3D polylines
-
Solids imported as meshes
-
Dimensions and leaders imported as 3D polylines
-
Text imported as either native text primitives or geometry. If text is imported as geometry, type (mesh or 3D polyline) depends on the type of the font being used.
-
-
Colors and materials
-
Entities can use indexed or true color
-
Entities can have materials assigned with various attributes such as specular highlight, reflection, and opacity
-
Materials can be either attached to entities or attached to layers. For example, if a material called WOOD is attached to entity A, entity A has the WOOD material. Or, if the WOOD material is attached to Layer 1, all the entities under Layer 1 have that WOOD material.
-
Limitations
-
Animation
-
BoM support based on part names
-
Configurations
-
NURBS and Solids
-
Tessellation control
-
Textures
-
UV coordinates
Features
This format contains both import and export options. You can use them to customize the way in which your file is opened and saved.
Import Interface
|
Field |
Functional Description |
|---|---|
|
General |
Defines the common settings
|
|
Model Layout |
Determines the way in which objects are imported and displayed in a model-space layout
|
|
Paper Layouts |
Determines the way in which objects are imported and displayed in paper-space layouts
|
|
Geometry Transformation |
Transforms (rotate, position, and scale) the scene along the X, Y, and Z axes:
|
|
Floor Plan Conversion |
Defines the settings for floor plan conversion
|
Export Interface
|
Field |
Functional Description |
|---|---|
|
Output Version |
Establishes the version of AutoCAD in which to export the file |
SHX Font Conversion Rules for AutoCAD Drawings
If SHX fonts are found on the local machine, the following conversion rules are applied:
-
If all the characters found in SHX font, use specified SHX font and vectorize to polylines
-
If there are missing characters in local SHX font, use the following rules:
-
If font substitution is disallowed (default), use specified SHX font and vectorize to polylines. Note that there are surrogate characters.
-
If font substitution is allowed, use fallback TrueType font and create text primitive
-
If SHX fonts are not found on the local machine, the system uses the corresponding TrueType font and the following conversion rules are applied:
-
If corresponding TrueType font found, use corresponding TrueType font and create text primitive
-
If corresponding TrueType font not found, use SHX fallback font and vectorize to polylines. Note that there may be surrogate chars.
TrueType Font Conversion Rules for AutoCAD Drawings
If an AutoCAD drawing contains a TrueType font, use the specified TrueType font and create a text primitive.