plot to pdf, problems with plot offset (maybe)

plot to pdf, problems with plot offset (maybe)

Anonymous
Not applicable
545 Views
2 Replies
Message 1 of 3

plot to pdf, problems with plot offset (maybe)

Anonymous
Not applicable
Hi,
I am trying to plot to pdf with the DWG to PDF.pc3 plotter. Everything seems fine, but when i plot (using extents and scale-to-fit) it seems to offset my entire drawing a few milimeters up and right, from the lower left corner.
I have set all my margins to 0 so i'm having a hard time understanding what i need to change.
If i go in and print it interactivly, there's a setting called plot offset. Is there a way to change this? Could this even be it?
Also, there's something called plotorigin (code) but how do i use this?

What really bugs me is, if i call a fullpreview, before plotting the pdf, everything looks like it should. When it writes the pdf to the disc however, it offsets the whole thing.

What am i missing?
0 Likes
546 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Are you using the .NET Plot API to do this? If so, you can call SetPlotOrigin on the Autodesk.AutoCAD.DatabaseServices.PlotSettingsValidator.

If you are not using the .NET Plot API, what method are you using? Executing the command from the command line programmatically?
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi,
I am using AutocadDocument.ActiveDocument.Plottofile(). (it's a standalone program)
I did manage to set plotorigin, but i had to set it to -1,-2 which is not really a solution i enjoy using.
It must be possible to automatically set the area. Maybe one day a document comes through, where -1,-2 wont work.
0 Likes