This may be in the wrong forum here but it does have to do with spatial data.
Feel free to move this if it does need to go somewhere else.
I am trying to write a script that would insert a variety of points. These points are coordinates for different facilities; substations, towers etc. What I want to do is take the data that I have and insert a block for that particular set of facilities. Within the block I have defined a set of attributes that would tie back to a database, spreadsheet etc. What I have found is that I can not get the info to fall into the correct location for the attributes.
This is what I have done:
-insert "Y:\Drawings\Blks\substation.dwg" 10000000.00,1000000.000,0 1 0
05 abc SubstationThe bolded letters above is the attribute information. If I do the insert command as I have listed above the bolded section all goes to the first attribute and then the next insert command goes to the second attribute and so on ..... until they are all done. NOT HOW I WANT IT TO WORK!
If I were to separate the attributes out listing them below the insert command it all works fine. But I really don't want to do that for a thousand entries. Is there a command or a certain way to force the script to do a hard carriage return in a line sequence? I know that a space acts as a return but it does not work while trying to insert multiple blocks with attributes. So is there another way to accomplish what I am trying to do above, or is there an easier way to get the same result.
Thanks for the help,