Message 1 of 1
Editing blk works in 2K2 but not 2K

Not applicable
03-16-2002
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am editing a block in code. I find a certain line in a block with a linetype that we want to purge and then I replace with a polyline. I pull the info I need from the line, build the vertices for my polyline and then delete the line entity and add the polyline to the block. This works fine when I run from AutoCAD 2002 but in AutoCAD 2000, it works until I try to add the polyline to the block. I get an error 5 (an invalid procedure). I think that is a block error. Whats up? I must be trying to add this entity to the block incorrectly, but what is the correct method? Thanks.
JR
I am editing a block in code. I find a certain line in a block with a linetype that we want to purge and then I replace with a polyline. I pull the info I need from the line, build the vertices for my polyline and then delete the line entity and add the polyline to the block. This works fine when I run from AutoCAD 2002 but in AutoCAD 2000, it works until I try to add the polyline to the block. I get an error 5 (an invalid procedure). I think that is a block error. Whats up? I must be trying to add this entity to the block incorrectly, but what is the correct method? Thanks.
JR