INTERNAL ERROR: !dbinsert.cpp@581: eHadMultipleReaders ...PLEASE HELP!!

INTERNAL ERROR: !dbinsert.cpp@581: eHadMultipleReaders ...PLEASE HELP!!

Anonymous
Not applicable
293 Views
4 Replies
Message 1 of 5

INTERNAL ERROR: !dbinsert.cpp@581: eHadMultipleReaders ...PLEASE HELP!!

Anonymous
Not applicable
I am getting an error when trying to insert a block using VBA. I am new to
the game and need help, please. The following is my code:



Dim insertionPnt(0 To 2) As Double
Dim blockRefObj As AcadBlockReference
insertionPnt(0) = 0: insertionPnt(1) = 0: insertionPnt(2) = 0

'THE FOLLOWING IS THE CODE THAT CAUSES THE ERROR
Set blockRefObj = ThisDrawing.ModelSpace.InsertBlock(insertionPnt,
"tb11.dwg", 1#, 1#, 1#, 0)



If I create the block in the blocks collection first I get no error, but I
want to insert the blocks into AutoCad from my local drive.

Does anyone know what this error means, ...Anyone familiar with it????

Any help is greatly appreciated,

Brent
0 Likes
294 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Hi Brent,
Just as a fast test for the most common cause of the error:

add the path to the file name so that this:

"tb11.dwg",

looks something like this:

"C:\YourPath\tb11.dwg",

then try the insertion.
If it works, you need to add make a decision:

1. Leave the Path information "hard coded"
2. Move the file prior to insertion.
3. Add the path information to AutoCAD's support path

If it doesn't resolve the problem, which version of AutoCAD are you using?

Randall Rath
VB Design
Home of the Wonder Llama
http://www.vbdesign.net/cadpages/
0 Likes
Message 3 of 5

Anonymous
Not applicable
That doesn't work either. But thanks for trying.

I am using Acad2000, and the drawing was made with A2K which I am trying to
insert as a block.

Brent

"Randall Rath" wrote in message
news:323A43CDBAE8E1BDBBDC65695ED9BEFB@in.WebX.maYIadrTaRb...
> Hi Brent,
> Just as a fast test for the most common cause of the error:
>
> add the path to the file name so that this:
>
> "tb11.dwg",
>
> looks something like this:
>
> "C:\YourPath\tb11.dwg",
>
> then try the insertion.
> If it works, you need to add make a decision:
>
> 1. Leave the Path information "hard coded"
> 2. Move the file prior to insertion.
> 3. Add the path information to AutoCAD's support path
>
> If it doesn't resolve the problem, which version of AutoCAD are you using?
>
> Randall Rath
> VB Design
> Home of the Wonder Llama
> http://www.vbdesign.net/cadpages/
>
0 Likes
Message 4 of 5

Anonymous
Not applicable
Hi Brent,
I just noticed that you placed the error description into the subject line..
Can you tell me where you store this drawing?

Randall Rath
VB Design
http://www.vbdesign.net/cadpages/
0 Likes
Message 5 of 5

Anonymous
Not applicable
I am storing it on my local hard drive.

Brent

"Randall Rath" wrote in message
news:7A74DDC863E4EC2C61D101E28E7F301D@in.WebX.maYIadrTaRb...
> Hi Brent,
> I just noticed that you placed the error description into the subject
line..
> Can you tell me where you store this drawing?
>
> Randall Rath
> VB Design
> http://www.vbdesign.net/cadpages/
>
0 Likes