Set the plot style none

Set the plot style none

Anonymous
Not applicable
1,153 Views
2 Replies
Message 1 of 3

Set the plot style none

Anonymous
Not applicable

I have the code to set PlotStyle to a layout.

(vl-catch-all-apply 'vla-put-StyleSheet (list AlayObj PlotStyleName))

 

But I can't figure out how to set to none.

 

I tried

(vl-catch-all-apply 'vla-put-StyleSheet (list AlayObj "."))

(vl-catch-all-apply 'vla-put-StyleSheet (list AlayObj "None"))

 

but they don't work

 

 

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

Anonymous
Not applicable

I just saw the PlotWithPlotStyles and PlotWithLineweights and tried to set to :vlax-false, but that doesn't work either.

Not StyleSheet gets set to acad.ctb (not by me)

 

0 Likes
Message 3 of 3

dbroad
Mentor
Mentor
Accepted solution

Try:

(vla-put-StyleSheet lay "")

where lay is your layout object.

Architect, Registered NC, VA, SC, & GA.
0 Likes