- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I've searched the forums but I can't seem to find a resolution to my problem.
I'm using the Ed.SelectAll(SelectionFilter) to select LWPOLYLINEs on a layer.
It will work during my first run through of the code but when I attempt to run the code a second time it will crash giving the error " Attempted to read or write protected memory". This is a full AutoCAD crash and I'm unable to find the exact problem.
Does anyone know what types of things would cause this? The layer that I am using the SelectAll() is newly created and I'm beginning to think that maybe the layer it is searching through has issues from when it was created?
Thanks and let me know if I can provide anything else to help with troubleshooting.
Solved! Go to Solution.