Message 1 of 3
Can't not Change HatchObjectType property in an inactive drawing.

Not applicable
03-03-2005
07:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am writing a VBA macro to batch make slides.
While the solid hatch entities are not "Solid" at all in slides, I try to substitute them with Gradient hatch. It works in an active drawing. But when I apply it to an inactive document object, the AutoCAD collapse. Here is the message:
Fatal Error: Unhandled Access Violation Reading 0x0000 Exception at 0h
Any help will be appreciated.
Alvin
I am writing a VBA macro to batch make slides.
While the solid hatch entities are not "Solid" at all in slides, I try to substitute them with Gradient hatch. It works in an active drawing. But when I apply it to an inactive document object, the AutoCAD collapse. Here is the message:
Fatal Error: Unhandled Access Violation Reading 0x0000 Exception at 0h
Any help will be appreciated.
Alvin