I have a file I am loading from AcadDoc.lsp. When a reactor loads... I simply want a few characters printed to the command line.
However, I want it several lines up with from the command line - with serveral blank lines afterwords. Regardless of what I do, it falls on the very first line above the command line. I have tried all of the below. I used to be you had complete control of this... but not anymore.
Has anyone found a way to do this?
(terpri)
(princ "\nmytext")
(terpri)(terpri)(terpri)
(princ "\n\nmytext\n")vlide
(prompt "\n\n\nmytext\n\n\n")
(princ "\n\n \n\n\n")
(princ (strcat (chr 10)(chr 10)(chr 13)(chr 13)(chr 13)))
Acad devlopment team trying to be "helpful" again... assuming that if you want to print something to the command line then you must want to see it so they suppress repeated calls for the newline feed...
Try this (it will provide you with 10 "blank" lines (using a new line call with a space as a value, adjust as desired):
(princ "\nMy Text")
(repeat 10 (princ "\n "))
(princ)
nooop... no worky. Tried it from several computers. I even tried taking the \n away from the beginning of my My Text think it would just come in at the end of one of the other lines from our startup.
Looks like this works... not holding my breath though - but so far go good.
(princ (strcat "\nMyText\n" (chr 160)))