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
 ACAD 2022 Not Cycling Thru the Que
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tim_crouse
New Member



USA
12 Posts

Posted - July 20 2022 :  5:56:00 PM  Show Profile  Reply with Quote
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

Tim C.
Sent From My TI-84+

Admin
Administrator



652 Posts

Posted - July 20 2022 :  9:24:29 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Can you post what you see in the AutoCAD F2 text window?
Thanks!

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

tim_crouse
New Member



USA
12 Posts

Posted - July 21 2022 :  05:03:04 AM  Show Profile  Reply with Quote
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

Tim C.
Sent From My TI-84+
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 21 2022 :  06:13:14 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Perfect.

Thanks for posting your solution.

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