I found this LISP code that can insert a block at coordinates from an ASCII.
(defun c:universal( / file f a osmode);PointsToBlocks (while (not file) (setq file (getfiled "Input file" "coords" "txt" 4)) ) (setq f (open file "r") osmode (getvar "OSMODE") ) (setvar "OSMODE" 0) (while (setq a (read-line f)) (command "._insert" "block1" a 1 1 0) ) (setvar "OSMODE" osmode) (princ)
What I want to be able to do is insert blocks from an ASCII and also set the x-, y-, and z-scales.
For example, I have these lines in ASCII, the data points refer to X position, Y position, Z position, X scale, Y scale, and Z scale.
30.593589,21.274607,26.235255,0.172826,0.766324,0.066442
30.710182,21.379792,27.054248,0.130816,0.700035,0.043114
Thank you in advance for your help, I am a beginner.