Message 1 of 2
Plot problems
Not applicable
06-05-2002
04:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi NG;
I'm trying to create a new plotconfiguration with all the properties set
like this:
Dim dblOrigin() As Double
dblOrigin(0) = 50#: dblOrigin(1) = 0#
With objPlotConfig
.ConfigName = strPrinter
.CanonicalMediaName = strMediaName
.PlotRotation = strRot
.PlotType = acExtents
.CenterPlot = False
.PaperUnits = acMillimeters
.PlotHidden = False
.PlotViewportsFirst = True
.SetCustomScale 1#, 1#
.StyleSheet = "monochrome.ctb"
.PlotOrigin = dblOrigin
End With
ThisDrawing.Regen acAllViewports
When I try to use this plot configuration from my VBA code it shows wrong
but when I use this "Page Setup Name" in the ACAD plot-dialog it works fine.
What could the problem be?
Any help appreciated.
David.
I'm trying to create a new plotconfiguration with all the properties set
like this:
Dim dblOrigin() As Double
dblOrigin(0) = 50#: dblOrigin(1) = 0#
With objPlotConfig
.ConfigName = strPrinter
.CanonicalMediaName = strMediaName
.PlotRotation = strRot
.PlotType = acExtents
.CenterPlot = False
.PaperUnits = acMillimeters
.PlotHidden = False
.PlotViewportsFirst = True
.SetCustomScale 1#, 1#
.StyleSheet = "monochrome.ctb"
.PlotOrigin = dblOrigin
End With
ThisDrawing.Regen acAllViewports
When I try to use this plot configuration from my VBA code it shows wrong
but when I use this "Page Setup Name" in the ACAD plot-dialog it works fine.
What could the problem be?
Any help appreciated.
David.