PDA

View Full Version : setting the plot style



rstiles
2012-02-09, 09:23 PM
i have created a lisp that does a number of things to clean up drawings like text styles, layers etc

my issue is i want it to set the plot style. i have tried it through plot but it prints a copy. and page setup only comes up as a dialog box.

any ideas?

BlackBox
2012-02-09, 09:27 PM
From memory... You can enter a "NO" option at the end of using the ._-plot command. :wink:

rkmcswain
2012-02-09, 10:31 PM
You can push the -plot command as Renderman says, and you can directly access the layout using VLisp to set the plot style also.

BlackBox
2012-02-09, 11:02 PM
You can push the -plot command as Renderman says, and you can directly access the layout using VLisp to set the plot style also.

You know, a while back I had trouble with that albeit specifically during within an ObjectDBX function.

The function iterated the directory of drawings successfully, removing all existing plot styles, and even added the replacement(s)... but (if memory serves) I still ended up requiring the -plot command to set the successfully imported style current within Page Setup Manager.

Bye, bye ObjectDBX. LoL *shrug*

rstiles
2012-02-10, 07:49 PM
i dont think im following you

(command “ –plot” “no” )

enters the non-detailed plot configuration

or do write out all the steps with no at the end?

(command “ –plot” "y" "" "" "" "" "" "" "" “no” )

BlackBox
2012-02-10, 07:54 PM
Here's a snippet from an old routine, you may need to specify some of the parameters that I've used the default (i.e., "") below:



(vl-cmdf "._-plot" "_n" "layout" "YourPageSetupNameHere" "" "" "_y" "_n")


HTH