This function returns the esri coordinate system definition string currently defined in the drawing as a list containing the string.
Syntax
(esri_coordsys_get)
Arguments
- None.
Example usage
Request the esri coordinate system definition in the drawing:(esri_coordsys_get)
Result example usage
Returns the esri coordinate system definition in the drawing as a list of a string:
("PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]")
Return values
- If successful, a list containing the esri coordinate system is returned as a string.
- If failed, a list with the first value of nil is returned followed by an associated list containing the key value "Error" and an associated error message as a string: (nil ("Error" . "<message>")).
Failed return values
A failed return value can occur for the following reason:
- (nil ("Error" . "No coordinate system assigned."))
The esri coordinate system has not been set in the drawing.