What if my block name has spaces? The Visual LISP in CAD starts breaking my block name into another line For instance I want the code to say the following: -insert interior row end 916511.6339,394737.0167,175.5576 1 0 But the Format Edit Window button inside Visual LISP reformats it to the following which then errors out -insert interior row end 916511.6339,394737.0167,175.5576 1 0 Any help would be appreciated, note there are thousands of these blocks so going in and backspacing is not really an option It also seems to only be copying in about half of the blocks in the code when I use a dummy block name with no spacing. Thank you
@OutofOffice0410 ай бұрын
Can you replace the space with _ underscore in the block name
@BrandonLambert-b7n10 ай бұрын
@@OutofOffice04 Troubleshot and found the issue of it not inserting all the blocks; there seems to be an extra value for the block insert command involving a "scale Y" value thus I just needed to add another (1) into the code. So there should be another column in the excel after "Scale X" called "Scale Y" with the same value. Nice thought, I will have to try that. The only thing is my company receives a .csv file with all the names already in the file so I would have to do a find and replace on all of the different items I want blocks made for so I wasn't sure if there was another work around where names with spaces can be used or not?
@OutofOffice0410 ай бұрын
That’s great also spaces won’t work in the script
@marystachu38682 жыл бұрын
hi! Why when you put commend "-instert" you get "...[?] " ?
@OutofOffice04 Жыл бұрын
"XYZ" is a block name which I will be using to insert in Autocad