PDA

View Full Version : Tab through cells in a table ?


alan.richards
2006-07-28, 05:34 PM
Does anyone know how to tab through cells in a Table in LISP ?
I need to populate a table with 3D co-ordinates and a reference number, the values for which I obtain from objects on the screen.
My lines of code are;-

(princ (strcat "\n Select Cell for " SITEM " Label"))
(command "_.tabledit" pause SITEM)
(princ (strcat "\n Select Cell for " SITEM " EASTING"))
(command "_.tabledit" pause SIEAST)

and so on, for northings and elevation
(sorry folks, we in the UK work this way round !!)

which works fine,

How can automatically tab through the next-right cells to automatically place all 4 colums of text.

Regards

[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]