Spatial Manager for ZWCAD
Documentation

LISP Programming

Calculate coordinate transformations of the objects in the import and export processes in ZWCAD.

Coordinate Systems (CRS)

Available on editionProfessional

Transform the coordinates of a point: (spm_cstransformpoint '(x y z) SourceCRS# TargetCRS# [Tranformation#]).

  • '(xyz): Point source coordinates.
  • SourceCRS#: Source CRS code.
  • TargetCRS#: Target CRS code.
  • Transformation#: Transformation code (Optional).
  • Sample: (spm_cstransformpoint '(-2.5548 43.2148 0) 4326 23030 1133)

Get the current drawing CRS Code: (spm_csgetdrawingcrscode).

Get the current drawing CRS Name: (spm_csgetdrawingcrsname).

Assign a CRS to the drawing: (spm_cssetdrawingcrs CRS#).

  • CRS#: CRS Code.
  • Sample: (spm_cssetdrawingcrs 23030)

Disclaimer:
  • Some components shown here (providers, names, window styles, etc.) may differ slightly from those on your computer.
  • Certain features require Internet access. If you experience issues, check with your network administrator about a possible Proxy server. You can configure the Proxy settings in the application options.
  • Some geographic data providers (Geocode, image maps, etc.) may require a user account, which you can set up in the Service Provider API Keys section of the application options.