Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: ODO18


@ODO18 wrote:

.... "error: bad argument type: consp nil" ....

....

(write-line (strcat (getvar "dwgprefix") ", " (getvar "dwgname") ", " (getvar "cgeocs") ", " (rtos (nth 0 viewctr)) ", " (rtos (nth 1 viewctr))) ftkeepname)
....


Start with this correction:
.... (rtos (nth 0 (getvar 'viewctr))) ", " (rtos (nth 1 (getvar 'viewctr)))) ....

Kent Cooper, AIA