Conflict with Xref and block inserted. How solve this problem?

Conflict with Xref and block inserted. How solve this problem?

ladimirabdala
Advocate Advocate
17,190 Views
2 Replies
Message 1 of 3

Conflict with Xref and block inserted. How solve this problem?

ladimirabdala
Advocate
Advocate
I have a routine to insert A4 A3 A2, but if a block is already in the drawing, appear the messsage:

** Error: "A4v" is already a standard block in the current drawing. *Invalid*

And my routine is canceled. How make this?
Purge is not efficient.
0 Likes
17,191 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Purge, though inefficient, is probably the best way.
You could rename the internal block or rename the xref.
You could write your own routine to delete the block or to convert it into the xref.
You could use the Express Tools BlockToXref feature.


wrote in message news:5691596@discussion.autodesk.com...
I have a routine to insert A4 A3 A2, but if a block is already in the drawing, appear the
messsage:

** Error: "A4v" is already a standard block in the current drawing. *Invalid*

And my routine is canceled. How make this?
Purge is not efficient.
0 Likes
Message 3 of 3

Anonymous
Not applicable
If the new block is to redefine the old block then insert old=new.
Otherwise, you can check first to see if the block name is already used, and
if so then you could rename before trying to insert the new name.


wrote in message news:5691596@discussion.autodesk.com...
I have a routine to insert A4 A3 A2, but if a block is already in the
drawing, appear the messsage:

** Error: "A4v" is already a standard block in the current drawing.
*Invalid*

And my routine is canceled. How make this?
Purge is not efficient.
0 Likes