Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CSV Export

NullCad supports exporting geometry to CSV with customizable column options, complementing CSV import.

Column selection

ColumnDescription
NamePoint number or label (auto-generated as PT1, PT2, … if empty)
Vertex IndexIndex of a vertex within a multi-vertex geometry (lines/polylines)
XEasting or longitude
YNorthing or latitude
Z / HeightElevation or height (defaults to 0 if unset)
CodeFeature code for categorization
DescriptionDetailed description or notes
LayerLayer name

Format options

  • Coordinate precision: 0–10 decimal places, defaults to 6.

Geometry handling

By default, only Point geometry is exported.

Enabling export non-point geometries adds:

  • Lines — all vertices (start and end), one row each.
  • Polylines — all vertices, one row each.
  • Polygons — the centroid, as a single row.
  • Circles, Arcs, Rectangles — the center point, as a single row.
  • Text — the insertion point, as a single row.

Export behavior

  • Selection-aware: if geometry is selected, only the selection is exported; otherwise all active (non-deleted) geometry is exported.
  • Auto-generated names: points with an empty name get PT1, PT2, etc.
  • Default height: Z/Height defaults to 0 (rather than being left empty) when unset.
  • Multiple rows per geometry: exporting a line/polyline with export of non-points enabled produces one row per vertex, all sharing the same metadata (name, code, description, …).

Usage

  1. Select geometry to export (optional — leave nothing selected to export everything).
  2. File ▸ Export ▸ CSV…
  3. Choose which columns to include, and optionally enable “Export non-point geometries.”
  4. Export, then choose the output file location.

Default configuration

Enabled by default: Name, X, Y, Z/Height, Code, Description, 6 decimal places of precision.

Disabled by default: Vertex Index, Layer, non-point geometry export.

CSV format

Standard RFC 4180: header row, comma-separated fields, fields containing commas are quoted, empty fields are unquoted empty strings.

Example — points only (default)

name,x,y,z,code,description
PT1,500000.123456,4500000.654321,123.450000,CTRL,Control Point
PT2,500100.234567,4500100.765432,124.560000,BNDRY,Boundary Marker
PT3,500200.345678,4500200.876543,0.000000,TOPO,Topographic Point

Example — line vertices with vertex index

name,vertex_index,x,y,code
LINE1,0,100.000000,200.000000,BOUND
LINE1,1,150.000000,250.000000,BOUND
LINE1,2,200.000000,300.000000,BOUND

Example — auto-generated names

name,x,y,z
PT1,100.000,200.000,0.000
PT2,300.000,400.000,0.000

See also