The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Help with layout tabs

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
jubi23 Posted - August 25 2006 : 09:54:26 AM
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 :)
2   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - October 20 2006 : 1:28:55 PM
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
jubi23 Posted - October 20 2006 : 1:13:12 PM
soooooooo anyone got any answer?
cuz thatd be sweet

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