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

HomeFeaturesTutorialsFAQBlogForumTestimonialsContactBuy Hurricane
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Help with layout tabs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jubi23
Starting Member



USA
2 Posts

Posted - August 25 2006 :  09:54:26 AM  Show Profile  Reply with Quote
i know this is sort of a repeat of previous posts/questions like this one from bill

http://www.74mph.com/forum/topic.asp?TOPIC_ID=117&SearchTerms=layout,tab

but alas i could not figure out how to use the script for my purposes

What i'm trying to do is delete title blocks off of a bunch of drawings, but the problem is, some of the drawings have multiple paper/layout spaces, some have 5, some 1, different every drawing.

I was wondering if someone knew a way or a script that cycles through the non-model tabs so i can complete my task.

here is the script i have been using, now i just need to edit for the tabs

------
;PERMANENTLY BIND ALL
;XREFS TO DRAWING
_-XREF
reload
*
_-XREF
BIND
*
_erase
box
37",3.5"
36.5",3.75"

-LAYER
S
0
F
rev1

-----------

if anyone can help me, i'd love you all, and if not, i'll still love you :)

jubi23
Starting Member



USA
2 Posts

Posted - October 20 2006 :  1:13:12 PM  Show Profile  Reply with Quote
soooooooo anyone got any answer?
cuz thatd be sweet
Go to Top of Page

Admin
Administrator



Canada
665 Posts

Posted - October 20 2006 :  1:28:55 PM  Show Profile  Reply with Quote
I would suspect it would be something real close to this...


;START OF SCRIPT------------------------------
;ABORT=TRUE
(if(="Model" (getvar "ctab"))
(command "-XREF"
"reload"
"*"
"-XREF"
"BIND"
"*"
"ERASE"
"Box"
"37,3.5"
"36.5,3.75"
""
"-LAYER"
"S"
"0"
"F"
"rev1"
"_No"
""))
(progn
(foreach laylist (vl-remove "Model"(layoutlist))
(setvar "ctab" laylist)
(command "-XREF"
"reload"
"*"
"-XREF"
"BIND"
"*"
"ERASE"
"Box"
"37,3.5"
"36.5,3.75"
""
"-LAYER"
"S"
"0"
"F"
"rev1"
"_No"
"")))
;END OF SCRIPT------------------------------


Cheers!
Bill

Hurricane for AutoCAD
https://www.74mph.com
FAQ at
https://www.74mph.com/faq/faq.html
Tutorials at
https://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 - 2026 Go To Top Of Page
This page was generated in 0.34 seconds. Snitz Forums 2000