@bedros.j wrote:
Let's say i have an excel list like this and i need AutoCAD to read this list in a way and generate Rectangles (First Size 77x190 units drawn somewhere in coordinate) second size 80x190 away from the first coordinate, 3rd size etc...
So i will get 1 AutoCAD File with rectangles drawn away from each other
Would I be correct in the following assumptions?
A) It is a .csv filetype, not .xls or .xlsx or something.
B) It contains a line with those headers at the top, so that if I do this:
Command: (setq test (open "X:\\file\\path\\TheFileName.csv" "r"))
#<file "X:\\file\\path\\TheFileName.csv">
and then this:
Command: (read-line test)
first I will get:
"#,Length,Width,Qty"
C) Then subsequently I will get returns like this:
Command: (read-line test)
"1,77,190,1"
Given all those assumptions, that could be worked out, but you haven't answered the question in my previous Reply. Given your first three rectangles there are at least four possible results:

ALSO:
What if the Quantity column says more than 1? Should all of them be drawn separately, or just one to represent that size?
What kind of drawing units are you talking about? From Post 1:
"...the other one can be drawn, 0,4000) 4 meters away"
suggests millimeters, but surely if the rectangles are in the range of 80ish x 190 millimeters, you don't want them 4 meters apart. Or do you? In my image they're 190 drawing units in the greater dimension, and 4 drawing units apart, whatever the drawing unit may be.
[EDIT: Come to think of it, the "0,4000" suggests only two possible results, the bottom-edge one and the middle-most one in my image, but you still need to say which.]
Kent Cooper, AIA