Search K
Appearance
Appearance
Reads structural information from an AutoCAD DWG file, including blocks, layers, layouts, external references, and paper setup data.
Serialised Task
This task runs through the serialisation queue. Only one instance of this task executes at a time across all concurrent workflows. If multiple workflows reach this task simultaneously, they will queue and execute one at a time.
Use this task when a workflow needs to inspect a DWG file before acting on it — for example, to detect missing external references before publishing, to enumerate paper space layouts so the correct sheet can be exported, or to check layer states as part of a drawing quality gate. The task also identifies whether the DWG originated from Autodesk Inventor, returning early in that case since Inventor DWGs have a different internal structure. No AutoCAD installation is required; the task reads the file directly.
| Field | Type | Required | Description |
|---|---|---|---|
| File Path | Text | No | Full path to the DWG file to analyse. |
| Name | Description |
|---|---|
| IsInventorDWG | True if the file was generated by Autodesk Inventor. When true, no further structural data is extracted. |
| Blocks | List of all block definitions found in the drawing. |
| BlockCount | Number of block definitions. |
| Xrefs | List of external reference entries, including path and resolution status. |
| XrefCount | Total number of external references. |
| Layers | Full list of layers with their current state flags. |
| LayerCount | Total number of layers. |
| OffLayers | Layers that are currently turned off. |
| FrozenLayers | Layers that are currently frozen. |
| LockedLayers | Layers that are currently locked. |
| OffLayerCount | Number of layers that are off. |
| FrozenLayerCount | Number of frozen layers. |
| LockedLayerCount | Number of locked layers. |
| Layouts | All layouts in the file, covering both model space and paper space. |
| LayoutCount | Total number of layouts. |
| HasModelSpace | The model space layout object, if one exists. |
| PaperSpaceLayouts | Paper space layouts only. |
| PaperSpaceLayoutCount | Number of paper space layouts. |
| PaperSizes | Distinct canonical paper size names found across paper space layouts. |
| PlotConfigurations | Distinct plot configuration file names (.pc3) found across paper space layouts. |
| MissingXrefs | External references whose status is NotFound. |
| HasMissingXrefs | True if at least one external reference could not be resolved. |