Extract AutoCAD 3D
- Last UpdatedAug 26, 2024
- 3 minute read
The Gateway can extract different data types from .DWG/.DXF input files. The details of the particular input storage to be read by the project are defined in the extract configuration in the <input> element, via the source parameter, for example, <Input source="FileSystem">. This Extract component can read the data from File System or S3 Bucket sources.
Note: The values of the source attribute can be a case-insensitive representation of either "FileSystem" or "S3".
To specify how to extract the data:
-
Click Extract to display the Extract AutoCAD 3D field.
-
Select the type of Input Source from the drop-down box, either FileSystem or S3.
For FileSystem:
-
From the File System Details section, type the location of the input files (.DWG/.DXF files) from the box. Alternatively, you can use the Browse DWG/DXF File Path and Browse Path options to enter the input file location.
Some drawing elements use pre-defined shapes that are defined in separate files, for example, fonts. If those files are not in the same location as the drawing files, then you must specify this support folder, either in the project's configuration or in a system variable.
You can specify the support folder location for the project in the Extract page, as shown below:

Fonts and Support Folders
As it is common to locate all font files in a common system folder, you can set this location in a System Environment Variable under the User variables for section.
The Gateway reads any location (or locations) saved into a system environment variable named ACAD along with the locations defined in the project configuration. Multiple folder paths should be separated by a semicolon, as shown in the following image:

Note: The ACAD environment variable defines the location of the SHX fonts directory.
You can also define multiple support folders in the project. The following image shows multiple support folders marked as Project Setting in the Source column. Any folders defined via the System User Variable are marked as Environment Variable.

For S3:
To configure the extractor for S3 Bucket as input source:
-
Define the elements in S3 Credential Details section. For more information, see Accessing an AWS S3 Bucket.
-
If you want to test connection to S3 Bucket, click Test Connection. The result of the test is displayed in the bottom left status bar.
-
Click Save Settings to save the settings.

Notes:
-
You can set tracking of changes on Extraction of data using annotations feature. For information about annotations, see Appendix C: Tracking Changes in Data.
-
The Gateway does not extract any OVERLAID XREF files in models.
-
The Gateway can identify some key attributes, for example, ObjectID, ObjectName, Revision and so on will be exported into EIWM file even without mapping in configuration. For more information about these key reserved attributes, see Appendix E: Reserved Attributes Used in the Gateway.