The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 before I try/buy
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

NewTekBuzz
Starting Member

2 Posts

Posted - November 13 2007 :  08:38:59 AM  Show Profile  Reply with Quote
Will this program batch rename layer?

T.I.A.

Admin
Administrator



653 Posts

Posted - November 13 2007 :  08:48:31 AM  Show Profile  Reply with Quote
Yes.

Type "LAYER" into the script filter (top right), and then select "Rename Layer" script.

;Block/Dimstyle/LAyer/LType/Style/Ucs/VIew/VPort
_RENAME
_LAYER
;THE NEXT LINE IS THE LAYER NAME TO REPLACE
OLD-NAME
;THE NEXT LINE IS THE NEW LAYER NAME
NEW-NAME


Repeat as necessary for as many layers as you like...
(You can click the "Append" checkbox between each click of the script, and it will append it after what is currently displayed in teh script editor window)

The download at http://www.74mph.com/hurricane.zip will let you try everything out.

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

NewTekBuzz
Starting Member

2 Posts

Posted - November 13 2007 :  08:52:53 AM  Show Profile  Reply with Quote
CAN I ADD WILD CARDS?

BTW THANKS FOR THE QUICK REPLY
Go to Top of Page

Admin
Administrator



653 Posts

Posted - November 13 2007 :  10:18:47 AM  Show Profile  Reply with Quote
Hi,

Since the -LAYER command is an AutoCAD command, I don't think it accepts wildcards.

However, there may be a lisp out there that does. Once you find a lisp that does what you need you can then run the lisp from Hurricane.

You can also use the LAYOUT tab wizard (under the Wizards menu) to generate a template for your rename script, after the script is generated by the Wizard, just do a search and replace for -LAYOUT with -LAYER, and you should be up and running. After you fill in the blanks in the wizards, click "Create Script" at the bottom of the wizard. You should have the script created in the "user script" box.

Then click the pinkish EDITOR button and do your search and replace (in the bottom right of the editor).

Hope that helps!

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.38 seconds. Snitz Forums 2000