ade_projptforward

AutoCAD Map 3D AutoLISP

Up a level
ade_projptforward
 
 

Converts point coordinates from source coordinate system to destination.

(ade_projptforward pt)

Returns corresponding destination values or nil.

pt Source point to convert, a set of 2D or 3D coordinate values (real). If 3D, the Z value is ignored.

Before you can use ade_projptforward 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.