Message 1 of 4
Plot Origin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Can someone tell me why this isn't moving the plot origin.
Sub Plot_Test()
Dim Cur_layout As AcadLayout
Dim Origin(0 To 1) As Double
Origin(0) = 0.5
Origin(1) = 0#
Set Cur_layout = ThisDrawing.ActiveLayout
With Cur_layout
.CenterPlot = False
.PlotOrigin = Origin
.PlotType = acExtents
.PlotRotation = ac90degrees
.PlotWithPlotStyles = True
.StyleSheet = "monochrome.ctb"
End With
ThisDrawing.Plot.DisplayPlotPreview (acFullPreview)
End Sub
Thanks
Can someone tell me why this isn't moving the plot origin.
Sub Plot_Test()
Dim Cur_layout As AcadLayout
Dim Origin(0 To 1) As Double
Origin(0) = 0.5
Origin(1) = 0#
Set Cur_layout = ThisDrawing.ActiveLayout
With Cur_layout
.CenterPlot = False
.PlotOrigin = Origin
.PlotType = acExtents
.PlotRotation = ac90degrees
.PlotWithPlotStyles = True
.StyleSheet = "monochrome.ctb"
End With
ThisDrawing.Plot.DisplayPlotPreview (acFullPreview)
End Sub
Thanks