Cab,
I brought the script into Hurricane and am trying to run it but am getting an error message that reads:
Error in plot options
Bad plot config name
I put the page setups in there but should it be the printer names, what is plot config name?
Here's my script:
; ***************************************************************
; HURRICANE 6.5.13 - SCRIPT CREATED 1/18/2007 : 11:02:32 AM
; ***************************************************************
_OPEN
"d:\Drawings\M-2630EM ONE CHRISTINA CRESCENT\COMPLETE SUBMISSION\DETAILS.dwg"
; << START OF PRE-USERSCRIPT COMMANDS >>
(SETVAR "MODEMACRO" "Drawing 1 of 2")
; << START OF USER SCRIPT >>
(or sub_plottabs (load "PlotTabs.lsp"))
(foreach ps '(("d-prot-500ps" nil 1) ("d-prot Xerox510" t 5) ("d-prot-800" nil 1) ("small_copy" nil 3) ("HP LASER 11x17" nil 1))
(sub_plottabs
;; Option variables passed to this routine in this order
(list
(car ps) ; plot-config Config Name if plot, default to "Current"
(nth 2 ps); plot-qty number of copies of each sheet
"Tab" ; plot-order Sort order of tabs "Alpha" "Numeric" "Tab" order
(cadr ps) ; revorder t/nil Reverse the order of plots
nil ; savelayout Always set to True- Not an option in this version
t ; collatesets t/nil Collate plan sets when more than one plotted
t ; excludetab t/nil Flag to exclude tabs with flag character
"~" ; excludechr "~" Character marker for exclude tabs
nil ; zoom-all t/nil Zoom layout before plotting
nil ; PlotToFile t/nil
t ; PlotAllTabs Ignore the Pick List of Tabs
T ; setlaystate ACAD>2000 set layer state by name of tab before plotting
"" ; MyPath Path for 'Plot To File'
"*" ; Tabs2Plot List of tab names ("Sheet 1" "Sheet 2" "Sheet*") wild card ok
)
) ; end sub_plottabs
) ; end foreach PSlist
close
_QSAVE
; << END OF USER SCRIPT >>
; << START OF POST-USERSCRIPT COMMANDS >>
qsave
; << END OF POST-USERSCRIPT COMMANDS >>
_OPEN
"d:\Drawings\M-2464EM\M-2464EF\umdnj elevations.dwg"
; << START OF PRE-USERSCRIPT COMMANDS >>
(SETVAR "MODEMACRO" "Drawing 2 of 2")
; << START OF USER SCRIPT >>
(or sub_plottabs (load "PlotTabs.lsp"))
(foreach ps '(("d-prot-500ps" nil 1) ("d-prot Xerox510" t 5) ("d-prot-800" nil 1) ("small_copy" nil 3) ("HP LASER 11x17" nil 1))
(sub_plottabs
;; Option variables passed to this routine in this order
(list
(car ps) ; plot-config Config Name if plot, default to "Current"
(nth 2 ps); plot-qty number of copies of each sheet
"Tab" ; plot-order Sort order of tabs "Alpha" "Numeric" "Tab" order
(cadr ps) ; revorder t/nil Reverse the order of plots
nil ; savelayout Always set to True- Not an option in this version
t ; collatesets t/nil Collate plan sets when more than one plotted
t ; excludetab t/nil Flag to exclude tabs with flag character
"~" ; excludechr "~" Character marker for exclude tabs
nil ; zoom-all t/nil Zoom layout before plotting
nil ; PlotToFile t/nil
t ; PlotAllTabs Ignore the Pick List of Tabs
T ; setlaystate ACAD>2000 set layer state by name of tab before plotting
"" ; MyPath Path for 'Plot To File'
"*" ; Tabs2Plot List of tab names ("Sheet 1" "Sheet 2" "Sheet*") wild card ok
)
) ; end sub_plottabs
) ; end foreach PSlist
close
_QSAVE
; << END OF USER SCRIPT >>
; << START OF POST-USERSCRIPT COMMANDS >>
qsave
; << END OF POST-USERSCRIPT COMMANDS >>