几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】a question about oddb2dpolyline dump111 (http://www.dimcax.com/hust/showthread.php?t=14963)

yang686526 2009-05-04 03:14 PM

【转帖】a question about oddb2dpolyline dump111
 
a question about oddb2dpolyline dump!!!
a question about oddb2dpolyline dump!!!
hi, i have written a program to dump a dwg file using dwgdirect1.12. the file has a 2dpolyline entity which type is k2dcubicsplinepoly. if the 2dpolyline entity's type is k2dsimplepoly or k2dfitcurvepoly, i use the function oddbpolyline::convertfrom() to convert it to oddbpolyline and then dump. but when meet this type(k2dcubicsplinepoly or k2dquadsplinepoly) , i don't konw how to dump it?
the attach file has a 2dpolyline entity which type is k2dcubicsplinepoly.
attached files
do you mean dumping in a text form?
dump oddbpolyline fields. get vertex iterator from it and dump all vertices.
sergey slezkin
thanks. it works!


所有的时间均为北京时间。 现在的时间是 09:50 AM.