change xref type

change xref type

peter_pan_y_vino
Contributor Contributor
797 Views
6 Replies
Message 1 of 7

change xref type

peter_pan_y_vino
Contributor
Contributor

Translated by Google.
Hello.
I would like to know if it is possible to create a lisp routine that changes the binding type of multiple bound xrefs in a drawing, specifically change all bound xrefs to overlays.
Thanks.

0 Likes
798 Views
6 Replies
Replies (6)
Message 2 of 7

ВeekeeCZ
Consultant
Consultant

Try THIS 

 
0 Likes
Message 3 of 7

peter_pan_y_vino
Contributor
Contributor

Hello. I have tested it in AutoCAD 2018 Spanish and it does not work correctly.  This lisp routine has an error because it changes the insert scale of external references to the value 1. Do you know how to correct it?. Thanks.

0 Likes
Message 4 of 7

ВeekeeCZ
Consultant
Consultant

No, I don't.

Unfortunately, I can't find a way how to do this with the -XREF or any other command-line version of command which would allow scrip this process.

On the other hand, doing this using the XREF palette is not that bad - it allows multiple selection. And you're not doing this a hundred times a day, or do you?

 

0 Likes
Message 5 of 7

Kent1Cooper
Consultant
Consultant

A Search of this Forum found >this<, and there were many other threads returned that could contain similar routines.  [That one appears to have commands to go either way between Attached and Overlay status.  The file doesn't have commentary in it, but messages on that thread leading up to it will probably be helpful.]

Kent Cooper, AIA
0 Likes
Message 6 of 7

peter_pan_y_vino
Contributor
Contributor

Currently I do it through the xref palette but I have a lot of files to modify.

0 Likes
Message 7 of 7

ВeekeeCZ
Consultant
Consultant

@peter_pan_y_vino wrote:

Currently I do it through the xref palette but I have a lot of files to modify.


 

So you must be pretty fast at doing this. If I need about 5 sec to do so, you must be even faster.

 
0 Likes