Difference between revisions of "Spatial Manager™ for AutoCAD - FAQs: Application Programming Interface (API) ("Professional" edition only)"

From Spatial Manager Wiki
Jump to navigation Jump to search
(Created page with "=='Spatial Manager™' API ("Professional" edition only)== The API (Application Programming Interface) is currently under development. Available functionality: *'''LISP''' **...")
 
m
Line 1: Line 1:
=='Spatial Manager™' API ("Professional" edition only)==
+
The Application Programming Interface (API) is currently under development. Next you can find the available functionality:
The API (Application Programming Interface) is currently under development. Available functionality:
 
  
*'''LISP'''
+
 
**'''Transform the coordinates of a point:''' (spm_cstransformpoint '(x y z) SourceCRS# TargetCRS# [Tranformation#])
+
==LISP==
***'''(xyz) : Point source coordinates''
+
*'''Transform the coordinates of a point:''' (spm_cstransformpoint '(x y z) SourceCRS# TargetCRS# [Tranformation#])
***''SourceCRS# : Source CRS code''
+
**'''(xyz) : Point source coordinates''
***''TargetCRS# : Target CRS code''
+
**''SourceCRS# : Source CRS code''
***''Transformation# : Transformation code (Optional)''
+
**''TargetCRS# : Target CRS code''
***''Sample : (spm_cstransformpoint '(-2.5548 43.2148 0) 4326 23030 1133)''
+
**''Transformation# : Transformation code (Optional)''
 +
**''Sample : (spm_cstransformpoint '(-2.5548 43.2148 0) 4326 23030 1133)''
  
 
''Note: To learn more about the CRS and Transformation codes please go to the [[Coordinate_Systems_objects_list|Coordinate Systems objects list]] page''
 
''Note: To learn more about the CRS and Transformation codes please go to the [[Coordinate_Systems_objects_list|Coordinate Systems objects list]] page''

Revision as of 11:17, 11 August 2017

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


LISP

  • 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)

Note: To learn more about the CRS and Transformation codes please go to the Coordinate Systems objects list page