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
 tags
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tobor
Starting Member



USA
1 Posts

Posted - October 17 2014 :  08:24:01 AM  Show Profile  Reply with Quote
is there a way to take two tags an add them together and make a new third tag. example customer number(klm01-01-5000a-001-e + page number to create a single tag the produces klm01-01-5000a-001-e001 as the final format to be placed back in the title block data in the drawing.

Admin
Administrator



615 Posts

Posted - October 17 2014 :  09:54:03 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi tobor,

Yes, simply put the two tags in your script back to back wherever needed.

See the Title-Block Update Wizard.

You are not limited to simply the items in the drop-down menus... you can cut/paste them together in the script editor.

For instance... I have a script that updates the datestamp in drawings with a "Title" block, and a "date" attribute...

(LOAD "$HUR_PATH$LISP/TB_WIZ1.LSP")
;-------------
TB_WIZ1
"TITLE"
DATE
$MM$/$DD$/$YYYY$
REGEN
;-------------

I've taken the individual string $MM$ string and the $DD$ string and the $YYYY$ string, and combined them with a "/" divider to produce the current date separated by "/".

In the above script, todays date would be outputted upon batch script creation as 10/17/2014.

Hope that helps!

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 - 2017 Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000