Terry.Hickman
2004-12-06, 01:20 PM
Hello,
I have a program that plots multiple drawings that are in model space. The program works fine in 2002 but not in 2005. I receive a “WARNING: Incompatible or missing plot style” in 2005. If I set the plot style manually it works fine, if the program sets the plot style it shows up but it’s like it doesn’t apply it. All the code is being applied to the ActiveLayout. Here is a piece of the code.
With ThisDrawing.ActiveLayout
.RefreshPlotDeviceInfo
.ConfigName = which_pc3
.CanonicalMediaName = "ANSI_D_(34.00_x_22.00_Inches)"
.PlotWithPlotStyles = True
.StyleSheet = ocestyle
.PlotType = acExtents
.StandardScale = acScaleToFit
.PlotRotation = ac0degrees
.CenterPlot = True
End With
Thanks,
Terry
I have a program that plots multiple drawings that are in model space. The program works fine in 2002 but not in 2005. I receive a “WARNING: Incompatible or missing plot style” in 2005. If I set the plot style manually it works fine, if the program sets the plot style it shows up but it’s like it doesn’t apply it. All the code is being applied to the ActiveLayout. Here is a piece of the code.
With ThisDrawing.ActiveLayout
.RefreshPlotDeviceInfo
.ConfigName = which_pc3
.CanonicalMediaName = "ANSI_D_(34.00_x_22.00_Inches)"
.PlotWithPlotStyles = True
.StyleSheet = ocestyle
.PlotType = acExtents
.StandardScale = acScaleToFit
.PlotRotation = ac0degrees
.CenterPlot = True
End With
Thanks,
Terry