Sorry, it doesn't make any sense in my opinion.
I am here to impart knowledge or to help people help themselves.
I have also already written that "the solution" depends on two things.
@cadffm schrieb:
the Syntax is also depending on
used options & blockproperties (uniform scale yes/no).
-
And if you trying to automate these steps, it is also important! How do you want to automate/send this to AutoCAD.
It's not a simple thing that is every time and by all ways the same.
-
So please, as i wrote:
Figured out yourself,
-INSERT<enter>
MyBlockname<enter>
..and your options and inputs
write it down, keystroke for keystroke
Open your Textscreen - so you can see more history lines
A simple sample for a non-uniformly block with only one attribut, attreq is on, attdia is off -> [F1]
-INSERT
0,0,0
1
1
0
MyAttVal
-
I can see, you are working in Excel, all in one line.
Ich you have a vba program which translate this and send the input step by step to AutoCAD, it's ok,
but you can not send it as one string, you need a real <Enter> to enter the Blockname and attributvalue!
Enter= linebreak or newline
Why? Because "Space" chr32 is a valid lcharacter in Blocknames and Attributvalues.
-
First question now:
How are you planning to transfer the commands from Excel to AutoCAD commandline?
Trying to create a Script by Excel? Or by VBA? Or with an vba program that sendcommand it step by step to ACAD?
Inside a Script you need this kind of list (with linebreaks as enter)
-INSERT MyBlock
0,0,0 1 1 myattrib1value
or
-INSERT MyBlock
0,0,0
1
1
myattrib1value
and so on.