Automation error (Error 440)

Automation error (Error 440)

Anonymous
Not applicable
452 Views
1 Reply
Message 1 of 2

Automation error (Error 440)

Anonymous
Not applicable
Hi everyone,

I've been working on a code with VBA but I've had the next error message when I try to make a region out of some lines i've drawn through a subprogram:

Run-time error'-2147418119(8000ffff)':

Method 'AddRegion' of object 'IAcadModelSpace' failed.

When I click on help I get next message:

Automation error (Error 440)

The lines I've drawn close, I've used this method to make a region in previous parts of the program and they've gone well.

Help, anyone?
0 Likes
453 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Problem solved, I miscounted the number of lines to draw the region.
0 Likes