Retrieves and sets digitizer (tablet) calibrations
(tablet code [row1 row2 row3 direction])
- code
- row1, row2, row3
- direction
-
One 3D point. This is the vector (expressed in the world coordinate system, or WCS) that is normal to the plane that represents the surface of the tablet.
If the specified direction isn't normalized, tablet corrects it, so the direction it returns when you set the calibration may differ from the value you passed.
If tablet fails,
it returns nil and sets the
ERRNO system variable to a value that indicates the reason for the
failure (see
A very simple transformation that can be established with tablet is the identity transformation:
(tablet 1 '(1 0 0) '(0 1 0) '(0 0 1) '(0 0 1))
With this transformation in effect, AutoCAD will receive, effectively, raw digitizer coordinates from the tablet. For example, if you pick the point with digitizer coordinates (5000,15000), AutoCAD will see it as the point in your drawing with those same coordinates.
The TABMODE system variable allows AutoLISP routines to toggle the tablet on and off.
-
The
Calibrating Tablets topic in the AutoLISP Developer's Guide .