.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting StyleSheet

1 REPLY 1
Reply
Message 1 of 2
vlbray
347 Views, 1 Reply

Setting StyleSheet

I have a process that supposed to plot a drawing using predefined Style Sheet .ctb file. The process works it just does not use style sheet that I'm setting. This is how I'm setting it.

 

strPrinterName = "Bullzip PDF Printer.pc3"

objAcadLAyout.ConfigName = strPrinterName

objAcadLAyout.PlotWithPlotStyles = True


objAcadLAyout.StyleSheet = ""
objAcadLAyout.RefreshPlotDeviceInfo()
objAcadLAyout.StyleSheet = "RenderCenter-A2.ctb"
objAcadLAyout.RefreshPlotDeviceInfo()

 

Tags (5)
1 REPLY 1
Message 2 of 2
SENL1362
in reply to: vlbray

1. Does the CTB file exists in one of the Plot Style Table Search Path's;
2. Is the drawing a color dependent drawing type.

 

int ctbStyle = System.Convert.ToInt32(Application.GetSystemVariable("PSTYLEMODE"));
if (ctbStyle == 0)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost