Spinxy Posted July 25, 2011 Share Posted July 25, 2011 (edited) 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 July 25, 2011 by Spinxy Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 25, 2011 Share Posted July 25, 2011 Did you try _RENAME? Quote Link to comment Share on other sites More sharing options...
Devented Posted July 25, 2011 Share Posted July 25, 2011 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 Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 25, 2011 Share Posted July 25, 2011 You will need -RENAME for command line. Quote Link to comment Share on other sites More sharing options...
Spinxy Posted July 26, 2011 Author Share Posted July 26, 2011 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! Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 26, 2011 Share Posted July 26, 2011 Why not? X-Refs are listed as blocks on rename. Quote Link to comment Share on other sites More sharing options...
DNK Posted July 26, 2011 Share Posted July 26, 2011 (edited) 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 July 26, 2011 by DNK Quote Link to comment Share on other sites More sharing options...
Spinxy Posted July 26, 2011 Author Share Posted July 26, 2011 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. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 26, 2011 Share Posted July 26, 2011 See if this thread helps.....Layer Renaming Quote Link to comment Share on other sites More sharing options...
Spinxy Posted July 26, 2011 Author Share Posted July 26, 2011 -rename works with the xrefs, once i reload the x-ref the name updates. cheers for the help guys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.