Page 1 of 1
Spline with dwg files does not work
Posted: 14 Oct 2010, 00:21
by sbsaban
If I create a simple spline in AutoCad 2005 and save as a dwg file. Data.DataCount = 0 and there appears to be no info to create the spline.
If I save the same file as a .dxf everything seems to work fine.
What do I need to do to retrieve spline info from dwg files.
Thanks
Steve Saban
Re: Spline with dwg files does not work
Posted: 14 Oct 2010, 17:25
by support
Hello.
Data.Count for spline is a number of Control points. Unlike DXF the DWG format not store Control Points. You can access Fit points of spline in Data.Points or spline realization in Data.DashDots.
Alexander.
Re: Spline with dwg files does not work
Posted: 14 Oct 2010, 18:48
by sbsaban
Hi Alexander,
I am using the latest posted demo version of CADImporterDLL for evaluation. When I use the DemoCBuilder.exe to examine the spline structure from a DWG all the points show as zeros. When I enumerate through the drawing in my code and examine the Data structure, all Data.Points show as zeros, DashDotsCont = 0, DashDots=NULL, PolyPoints = all zeros. Somehow the demo version does display the spline points as a polyline but I dont know where the information is coming from. As far as I can tell, it is not in anywhere in the CADDATA structure.
Steve Saban
Re: Spline with dwg files does not work
Posted: 15 Oct 2010, 17:15
by support
Hello Steve.
Could you please send the above mentioned file containing a spline to
support@cadsofttools.com or post into this forum topic?
Alexander.