The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 ACAD 2022 Not Cycling Thru the Que

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
tim_crouse Posted - July 20 2022 : 5:56:00 PM
Could someone look at teh code below and explain to me why acad completes the tasks on the first file and then sits there with the first file open and not moving onto the next file.

********************************************************************

; ***************************************************************
; HURRICANE 7.0.7 - SCRIPT CREATED 7/20/2022 : 6:46:51 PM
; ***************************************************************
; << START OF PRE-BATCH COMMANDS >>
_SDI 1
; << END OF PRE-BATCH COMMANDS >>
_OPEN
"E:\___Working Data\_Active Projects\Nellis TTF Facility - 365th ISR TIFF\_Drawings\MILCON Fit-Out Coordination - Copy\FIT OUT\CT - Cable Trays\CT 4 - 2F Cable Tray.dwg"
;Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
;
-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
-LAYER
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-SCAL
-LAYER
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT
_RE
_QSAVE
_OPEN
"E:\___Working Data\_Active Projects\Nellis TTF Facility - 365th ISR TIFF\_Drawings\MILCON Fit-Out Coordination - Copy\FIT OUT\CT - Cable Trays\CT - Cable Trays Title Sheet.dwg"
;Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
;
-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
-LAYER
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-SCAL
-LAYER
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT
_RE
_QSAVE
_OPEN
"E:\___Working Data\_Active Projects\Nellis TTF Facility - 365th ISR TIFF\_Drawings\MILCON Fit-Out Coordination - Copy\FIT OUT\CT - Cable Trays\CT 1 - 1F Cable Tray.dwg"
;Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
;
-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
-LAYER
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-SCAL
-LAYER
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT
_RE
_QSAVE
_OPEN
"E:\___Working Data\_Active Projects\Nellis TTF Facility - 365th ISR TIFF\_Drawings\MILCON Fit-Out Coordination - Copy\FIT OUT\CT - Cable Trays\CT 2 - 1F Cable Tray.dwg"
;Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
;
-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
-LAYER
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-SCAL
-LAYER
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT
_RE
_QSAVE
_OPEN
"E:\___Working Data\_Active Projects\Nellis TTF Facility - 365th ISR TIFF\_Drawings\MILCON Fit-Out Coordination - Copy\FIT OUT\CT - Cable Trays\CT 3 - 1F Cable Tray.dwg"
;Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
;
-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
-LAYER
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-SCAL
-LAYER
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPERATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT
_RE
_QSAVE
_SDI 0
3   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - July 21 2022 : 06:13:14 AM
Perfect.

Thanks for posting your solution.
tim_crouse Posted - July 21 2022 : 05:03:04 AM
HERE IS THE FINAL CODE THAT WORKED

The key was using F2 when ACAD would stop to see the debug messages.
Once it was discovered where the code was stopping it was simply a matter of entering or removing carriage returns in the script to allow the cod to keep flowing through ACAD.

Thanks for the Tip

**************************************************************
; Example Script - Modify to suit your needs.
;;CHANGES THE COLOUR OF THE LISTED LAYERS TO DEFINED "TRUE" COLOR
_-LAYER
_C
_T
103,82,165
;; LAYERS TO CHANGE SEPARATED BY A COMMA
G-TTLB-LABL,G-TTLB-LOGO,G-TTLB-STMP,G_VPRT-NPLT,G-ANNO-TEXT-LABL
_C
_T
19,136,231
;; LAYERS TO CHANGE SEPARATED BY A COMMA
G-ANNO-SCAL
_C
_T
76,166,240
;; LAYERS TO CHANGE SEPARATED BY A COMMA
G-ANNO-TEXT,G-TTLB-TEXT

_ZOOM E
Admin Posted - July 20 2022 : 9:24:29 PM
Can you post what you see in the AutoCAD F2 text window?
Thanks!

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