How to plot with specific plotstyle

How to plot with specific plotstyle

Anonymous
Not applicable
515 Views
6 Replies
Message 1 of 7

How to plot with specific plotstyle

Anonymous
Not applicable
Hi,
Kean Walmsley gives a very detailed example in his feed about how to plot a window from AutoCAD (http://through-the-interface.typepad.com/through_the_interface/plotting/index.html).
But, he does not use any plotstyle. Can anyone please tell me how to print with a specific plotstyle?
Regards, Jan
0 Likes
516 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Is no one out there with any idea regarding the plostyle issue? Maybe there is also a completely different way to plot than the one Kean described. Please tell me.
Regards, Jan
0 Likes
Message 3 of 7

Anonymous
Not applicable
PlotSettings is the object. In VBA it is called PlotConfiguration. Either way, it is the Plot Style you are looking for. Create on, change its settings and copy it to a layout's plotsettings. That is how it basically functions.

jvj
0 Likes
Message 4 of 7

Anonymous
Not applicable
OK, thanks for the advice, but I can not find the corresponding object in VB. Any other idea?
Regards, Jan
0 Likes
Message 5 of 7

Anonymous
Not applicable
Here is what i found on short notice...

Public Sub PlotStyleInfo()
Dim obj As Autodesk.AutoCAD.DatabaseServices.PlotSettings 'equivalent to plot style/config/page setup
Dim obj2 As Autodesk.AutoCAD.PlottingServices.PlotConfig 'equivalent to pc3 files
Dim obj3 As Autodesk.AutoCAD.DatabaseServices.Layout 'equivalent to a layout with built in plot style
End Sub
0 Likes
Message 6 of 7

Anonymous
Not applicable
Thank again, but I found the solution. It was a little bit easier than expected. It is the 'stylesheet' property of the Autodesk.AutoCAD.DatabaseServices.Database

Regards, Jan
0 Likes
Message 7 of 7

Anonymous
Not applicable
Yet another object in the object tree to get to know and memorize...
0 Likes