Changing CTB plotsyle to STB Lisp routine.

Changing CTB plotsyle to STB Lisp routine.

isosa9APBT
Advocate Advocate
1,709 Views
2 Replies
Message 1 of 3

Changing CTB plotsyle to STB Lisp routine.

isosa9APBT
Advocate
Advocate

I'm trying to figure out how to change the default CTB plot style to STB with a lisp but I havent had any luck finding anything. I can manually use CONVERTPSTYLES to change to Screening 100%.stb since it won't let me use my original STB file. It seems like I need a list routine that first changes the plots style from CTB to STB using the Screening 100% STB file then it changes that STB to the one I actually want. I can manually change from Screening 100%.stb to the one I want JMech.stb but only after I changed from CTB to STB first.

0 Likes
Accepted solutions (1)
1,710 Views
2 Replies
Replies (2)
Message 2 of 3

isosa9APBT
Advocate
Advocate

This is what I have so far

 

(command "ConvertPStyles" "Screening 100%.stb")
(command "plot" "yes" "" "EPSON35D8A0 (WF-7620 Series)" "User-Defined" "" "" "" "" "" "" "Jmech.stb" "" "" "" "" "no" "")

I'm trying to use the plot command to change from Screening 100%.stb to Jmech.stb but is not working for some reason.

0 Likes
Message 3 of 3

isosa9APBT
Advocate
Advocate
Accepted solution

I was able to figure it out. My final lisp routine looks like this

 

(defun c:test ()
(command "ConvertPStyles" "Screening 100%.stb")
(command "plot" "yes" "model" "EPSON35D8A0 (WF-7620 Series)" "User-Defined" "inches" "landscape" "n" "d" "f" "center" "y" "Jmech.stb" "yes" "" "n" "y" "n"))

 

 

0 Likes