Message 1 of 4
Set Plot Rotation Get Error.
Not applicable
09-12-2012
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I developed with c# based on autocad 2010.
My codes do batch plot.
If I change plot rotation with "psv.SetPlotRotation(ps, (PlotRotation)i);" at line 67, it give me error like:
Autodesk.AutoCAD.Runtime.Exception: eInvalidPlotInfo
Autodesk.AutoCAD.Runtime.Interop.Check(Int32 returnValue)
Autodesk.AutoCAD.PlottingServices.PlotEngine.BeginPage(PlotPageInfo pageInfo, PlotInfo plotInfo, Boolean lastPage, Object parameters)
zxy.BatchPlot.BatchPlotCommand()
Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
Autodesk.AutoCAD.Runtime.CommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
If I use same rotation every plot with "psv.SetPlotRotation(ps, (PlotRotation)0);" at line , it is fine.
Attachment contains codes, makefile and compiled dll. It is a rar file. But I have to rename it to txt file for post.
Thanks.