Jump to content

X-Ref Renaming


Spinxy

Recommended Posts

Hey,

 

I'm having trouble with the renaming of X-refs.

i have made a script file that re-paths required x-refs to a new project, but this leaves the x-ref name as the old x-ref. does anyone know the keyboard comands to change the name? or to set the name to filename?

Edited by Spinxy
Link to comment
Share on other sites

Another way to do it is in the xr tab, if you click on the xref, then make sure the details box is expanded at the bottom, you can click on the name of the xref and change it. Oh, and thanks for that rename command SLW210, didn't know about it, been looking for something exactly like that :)

Link to comment
Share on other sites

SLW210, it won't allow me to rename x-refs!!

cheers devented, i know how to change it manually, i'm looking for a way to include it into my script when i re-path them! our x-refs have project initials in the file name!

Link to comment
Share on other sites

SLW210, it won't allow me to rename x-refs!!

cheers devented, i know how to change it manually, i'm looking for a way to include it into my script when i re-path them! our x-refs have project initials in the file name!

Yes it will. XRefs are listed under blocks.

 

TILEMODE
1
-rename
b
[YOUR CURRENT XREF NAME]
[YOUR NEW XREF NAME]
PURGE
ALL
N

Bear in mind that this will also change all of your xref dependent layer names.

Edited by DNK
Link to comment
Share on other sites

i tried it quickly using the dialogue box which comes up with _rename input xref name and new name, it reckonised it was a xref, i checked the xref manager and the name never changed, i'll give it another go in the morning in work! when i tried -rename;b;(x-ref name) and it said block not found.

yeah i'd want the xref layer names to update as long as it don't change the layer properties!! or i might as well dettach and attach.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...