plot orientation

plot orientation

Anonymous
Not applicable
277 Views
2 Replies
Message 1 of 3

plot orientation

Anonymous
Not applicable
I want to plot a DWG file on PDF printer. To do so I use this istruction:
doc.Plot.PlotToDevice "C:\Programmi\AutoCAD 2000i Ita\Plotters\Acrobat PDFWriter.pc3"
where doc is an Acaddocument.
But I want that the plot is in portrait orientation.
I see that exist a constant: acplotorientationportrait, but what can I do to assign correctly it ?
0 Likes
278 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Here is a sample of what I use Dim cadLayout As AcadLayout Set cadLayout = CadDoc.ActiveLayout With cadLayout .ConfigName = "some.pc3" .RefreshPlotDeviceInfo .CanonicalMediaName = "ANSI_B_expand__(17.00_x_11.00_Inches)" .PlotRotation = ac0degrees .PlotType = acExtents .StandardScale = acScaleToFit .CenterPlot = True .PlotWithPlotStyles = False .RefreshPlotDeviceInfo End With CadDoc.Plot.PlotToFile strName "AndreaN" wrote in message news:5837564.1079628573725.JavaMail.jive@jiveforum2.autodesk.com... > I want to plot a DWG file on PDF printer. To do so I use this istruction: > doc.Plot.PlotToDevice "C:\Programmi\AutoCAD 2000i Ita\Plotters\Acrobat PDFWriter.pc3" > where doc is an Acaddocument. > But I want that the plot is in portrait orientation. > I see that exist a constant: acplotorientationportrait, but what can I do to assign correctly it ?
0 Likes
Message 3 of 3

Anonymous
Not applicable
I had the same problem. In the code sent in the previous reply, the line

PlotRotation = ac0degrees

seems to be the key.
0 Likes