I use the block command to create the block and get rid of the lines. Than I want to insert the lines back but as a block this time. Below is the coding...but I dont thinkk that my creating the block or inserting the block is creating the problem. I am attempting to edit code that was written a few years ago, none of the programmers that wrote it are still around, and it's also poorly commented but here is the code for creating the block and inserting.
(command "-layer" "off" "dl" "" "")
(command "-layer" "off" "ol1" "" "")
(command "-layer" "off" "cl" "" "")
(command "-block" "cyc1" pt200 "w" pt1200 pt1201 "" ) ;oops removed 6/21
(command "insert" "cyc1" pt200 "" "" "") ;insert block with correct handle
(command "-layer" "on" "cl" "" "")
(command "-layer" "set" "cl" "" "")
(command "-layer" "off" "hl" "" "")
(command "-layer" "off" "ol" "" "")
(command "-block" "cyc1cl" pt200 "w" pt1200 pt1201 "") ;oops taken out 6/21
(command "insert" "cyc1cl" pt200 "" "" "") ;insert block with correct handle
If I leave the oops in the create block command it will keep the lines, or more correctly redraw the lines, but for some reason the insert wont work. I have combed throught the text window multiple times and have found no errors that would cause this. Also I am unfamiliar with the entmake function. If you dont mind, care to explain? Again sorry if this has nothing to do with it, because it is very possible that the error comes somewhere in the program, but it just didnt seem to make sense to me if I kept the oops in the block command that it would show up but wouldnt show up with the insert block. Thanks for the response I appreciate it.
Paul J.