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()
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)