The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 before I try/buy

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
NewTekBuzz Posted - November 13 2007 : 08:38:59 AM
Will this program batch rename layer?

T.I.A.

3   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - November 13 2007 : 10:18:47 AM
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
NewTekBuzz Posted - November 13 2007 : 08:52:53 AM
CAN I ADD WILD CARDS?

BTW THANKS FOR THE QUICK REPLY
Admin Posted - November 13 2007 : 08:48:31 AM
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

The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000