ade_projsetsrc

AutoCAD Map 3D AutoLISP

Up a level
ade_projsetsrc
 
 

Sets the source coordinate system for converting points.

(ade_projsetsrc cscode)

Returns T or nil.

cscode Coordinate system code (string), eight characters.

Before you can use either ade_projptforward or ade_projptbackward to convert points, you must first identify the coordinate systems that you are converting between. Use ade_projsetsrc to set the source system and ade_projsetdest to set the destination system. The ade_projptforward function assumes that the coordinate values you pass to it belong to the source system, and it returns corresponding destination values. The ade_projptbackward function does the inverse.

For more information, see Converting Coordinates.