A3 - Export Survey Data to Point Data File
A3 - Export Survey Data to Point Data File
Script Family
Series A - Data Exchange
Purpose
Exports survey data from the current Civil 3D drawing into point data files for cross-platform exchange and archiving.
When to Use
Use A3 when a supported Civil 3D drawing created by HAPI, HyD ESCS-C3D, or CEDD ECM OneGo Suite needs to be exported to an external point data format. Use A4 instead for legacy DGN-derived drawings.
Inputs
- Output Data Format.
- Point Code Syntax Configuration: Compatible or Enhanced.
- Data Source for Point Features: Block References or COGO Points.
- Data Source for Linear Features: Feature Lines or COGO Points.
- Output file directory and file name.
Outputs
- ESCS Point Data File (.PT2).
- Comma-delimited PNEZC Point Data File (.CSV).
- Bathymetry Data File (.XYZ).
Workflow Summary
- Choose the output data format.
- Choose whether exported Point Codes should be Compatible or Enhanced.
- Choose the point-feature data source.
- Choose the linear-feature data source.
- Specify the output path and run the script.
Related HAPI Concepts
Related File Formats
Reverse-Engineering Notes
When reverse-engineering this Dynamo graph, identify:
- Where supported source drawings are validated.
- How the Compatible versus Enhanced Point Code export option is implemented.
- How Block References are converted to point-feature records.
- How COGO Points are exported as raw field data.
- How Feature Line vertices are exported for linear features.
- How PT2, CSV, and XYZ output writers differ.
Source Basis
- Primary source:
HAPI User Manual.pdf, Section 2.3.4. - This note is a manual-facing script overview, not a PythonNet3 implementation specification.
Open Questions
- Confirm the exact Compatible Point Code conversion rules used by the current script.
- Confirm whether exported CSV includes Style Code fields or only PNEZC fields.