- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Any thoughts on this?
After getting it all together and having it working in Vanilla CAD, when I ran it through aeccoreconsole.exe with my script it did not work and I now I get this error in Vanilla CAD: ; "error: bad argument type: consp nil" when running the text below. The script ran fine in the console to completion but never copied text into the notepad.
this is my script that copy's the text into the notepad:
(setq ftkeepname (open "c:\\users\\dodonohue\\Documents\\ScriptPro\\ArcGISFileData.txt" "w"))
(write-line (strcat (getvar "dwgprefix") ", " (getvar "dwgname") ", " (getvar "cgeocs") ", " (rtos (nth 0 viewctr)) ", " (rtos (nth 1 viewctr))) ftkeepname)
(close ftkeepname)
Also I was going to research this but if you know off the top of your head how to make the script not overwrite the text in the notepad, but instead to place the text in the next available blank line then that would be super appreciated. But I also do not want to waste your time for something that may be out there already.
Thank you,