Difference between revisions of "Spatial Manager™ for ZWCAD - FAQs: Application Programming Interface (API) ("Professional" edition only)"
Jump to navigation
Jump to search
(Created page with "'''''BETA PHASE ----- Under development * Under development * Under development * Under development * Under development * Under development'''''< ---- The Application Progra...") |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[image:SPM ZWCAD Wiki to Website.png|150px|link=http://www.spatialmanager.com/spm-forzwcad/ |Spatial Manager™ for ZWCAD product page]] [[image:SPM ZWCAD Wiki to Download.png|150px|link=http://www.spatialmanager.com/download/spatial-manager-zwcad/ |Download Spatial Manager™ for ZWCAD]] | |
+ | |||
− | |||
The Application Programming Interface (API) is currently under development. Next you can find the available functionality: | The Application Programming Interface (API) is currently under development. Next you can find the available functionality: | ||
Line 7: | Line 7: | ||
==LISP== | ==LISP== | ||
− | *'''Transform the coordinates of a point:''' (spm_cstransformpoint '(x y z) SourceCRS# TargetCRS# [Tranformation#]) | + | *'''Coordinate Systems (CRS)''' |
− | **'''(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)'' | ||
+ | **'''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:'' | ||
+ | *''To learn more about CRSs and Transformations details, please go to the [[Coordinate Systems and Transformation details | Coordinate Systems and Transformation details]] page'' | ||
+ | *''To learn more about the CRS and Transformation codes, please go to the [[Coordinate_Systems_objects_list|Coordinate Systems objects list]] page'' | ||
Line 21: | Line 30: | ||
*[[Spatial Manager™ for ZWCAD#FAQs|Go to FAQS]] | *[[Spatial Manager™ for ZWCAD#FAQs|Go to FAQS]] | ||
+ | |||
+ | |||
+ | |||
+ | [[image:SPM ZWCAD Wiki to Website.png|150px|link=http://www.spatialmanager.com/spm-forzwcad/ |Spatial Manager™ for ZWCAD product page]] [[image:SPM ZWCAD Wiki to Download.png|150px|link=http://www.spatialmanager.com/download/spatial-manager-zwcad/ |Download Spatial Manager™ for ZWCAD]] |
Revision as of 12:34, 25 November 2019
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)
- Transform the coordinates of a point: (spm_cstransformpoint '(x y z) SourceCRS# TargetCRS# [Tranformation#])
Notes:
- To learn more about CRSs and Transformations details, please go to the Coordinate Systems and Transformation details page
- To learn more about the CRS and Transformation codes, please go to the Coordinate Systems objects list page
Related links