Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Renaming the layers of a bound drawing to the original layer names

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
246 Views, 3 Replies

Renaming the layers of a bound drawing to the original layer names

I want to delete the name of the xref and the $#$ and leave just the name of the layer. Does anyone has a lisp to do this? TIA
3 REPLIES 3
Message 2 of 4
old-cadaver
in reply to: Anonymous

Well to start with, don't bnd XREFs, insert 'em. There was a lisp posted here a long time ago, a search may turn it up.
Message 3 of 4
scot-65
in reply to: Anonymous

:

Tia,

Use the RENAME function.

Set up either as a entget or keyboard entry
for the old, and keyboard entry for the new layer...

-OR-

Use the entget for the old and use SUBSTR
for the new layer name...


Scot-65

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Message 4 of 4
Anonymous
in reply to: Anonymous

If you use: (command "-xref" "bind" xrefname) the xref layer-names will keep their old xref-name-prefix, but if you first set the BINDTYPE to 1 then you only get plain layer-names. (setvar "bindtype" 1) (command "-xref" "bind" xrefname) JanC "A Diaz" schreef in bericht news:4034f81f$1_2@newsprd01... > I want to delete the name of the xref and the $#$ and leave just the name of > the layer. > Does anyone has a lisp to do this? > > TIA > >

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost