Spatial Manager™ for GstarCAD - FAQs: Application Programming Interface (API) ("Professional" edition only)

From Spatial Manager Wiki
Revision as of 06:11, 13 May 2020 by Ignacio (talk | contribs) (Created page with "150px|link=http://www.spatialmanager.com/spm-forgstarcad/ |Spatial Manager™ for GstarCAD product page [[image:SPM GstarCAD Wiki to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Spatial Manager™ for GstarCAD product page Download Spatial Manager™ for GstarCAD


The Application Programming Interface (API) is currently under development. Next you can find the available functionality:


LISP

  • Coordinate Systems (CRS)
    • 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)


Notes:


Related links


Spatial Manager™ for GstarCAD product page Download Spatial Manager™ for GstarCAD