Stardraw Forums

Error when exporting to DWG/DXF

http://forums.stardraw.com/Topic9682.aspx

By Dave Rudderham - 6/26/2012 8:18:54 PM

When I opened Stardraw 7 today, there was an update available. I updated and restarted. After starting a new drawing, I tried to export it to AutoCAD but got an error with the following details...

Any help would be appreciated as I need to bring my drawings into AutoCAD for incorporation into a larger drawing set.

The following details will be sent to Stardraw.com Ltd:

0fba5872-5d42-4f34-8f28-7050f6678164
5b84a54c-8141-407e-afd8-5e8adf1ea491
26/06/2012 4:15:33 PM
Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.269 : .NET v2.0 (Service Pack 2) (Media Center)
6.1.7601.17514
Exception details:
Exception
An error occurred exporting the document: eInvalidInput
at Stardraw.RealDWG2011.Export.SaveToStream(DrawingView drawing, Stream stream)
at StardrawDesign7.ViewerControl.ExportAutoCADFile(String fileName, Version version, Format format)
at StardrawDesign7.ViewerControl.ExportFileHandler(UICommand command, Object[] args)
at Stardraw.Design.UICommand.Invoke(Object[] args)
at Stardraw.Design.CommandDictionary.Invoke(String commandName, Object[] args)
at StardrawDesign7.ViewerControl.ExecuteCommand(String name, Object[] param)
at StardrawDesign7.DocumentForm.ExecuteCommandInternal(String name, Object[] param)
at StardrawDesign7.DocumentForm.exportToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception details:
Exception
eInvalidInput
at Autodesk.AutoCAD.DatabaseServices.Hatch.AppendLoop(HatchLoopTypes loopType, ObjectIdCollection dbObjIds)
at Stardraw.RealDWG2011.Export.SetEntityBrush(BlockTableRecord btr, ObjectIdCollection boundary, Brush brush, Layer layer)
at Stardraw.RealDWG2011.Export.SetEntityBrush(BlockTableRecord btr, Entity entity, Brush brush, Layer layer)
at Stardraw.RealDWG2011.Export.ConvertPolyLine(BlockTableRecord btr, ObjectIdCollection parentCollection, PolyLineDrawObject pldo, Matrix mtd)
at Stardraw.RealDWG2011.Export.ConvertDrawObject(BlockTableRecord btr, Group parentGroup, ObjectIdCollection parentCollection, DrawObject drawObject, Matrix mtd)
at Stardraw.RealDWG2011.Export.ConvertDrawObject(BlockTableRecord btr, Group parentGroup, ObjectIdCollection parentCollection, DrawObject drawObject, Matrix mtd)
at Stardraw.RealDWG2011.Export.ConvertDrawObject(BlockTableRecord btr, Group parentGroup, ObjectIdCollection parentCollection, DrawObject drawObject, Matrix mtd)
at Stardraw.RealDWG2011.Export.ConvertDrawObject(BlockTableRecord btr, Group parentGroup, ObjectIdCollection parentCollection, DrawObject drawObject, Matrix mtd)
at Stardraw.RealDWG2011.Export.SaveToStream(DrawingView drawing, Stream stream)
By David Snipp - 6/27/2012 1:08:51 PM

Dave,

Could you email your Stardraw Design 7 Project (.s07 file) to techsupport so that we can try and reproduce the problem.

We can then diagnose the problem and hopefully provide you with a fix very quicky.

We suspect it is a particular Polyline in a drawing that is filled with an unusual Brush.
By David Snipp - 6/28/2012 5:11:19 PM

Dave,

Thanks for emailing us your project.

We have now published an update to Stardraw Design 7 that should fix this problem.

Do please let us know if you find any other problems.