几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】how to get layertable without loading complete database (http://www.dimcax.com/hust/showthread.php?t=16680)

yang686526 2009-05-06 02:41 PM

【转帖】how to get layertable without loading complete database
 
how to get layertable without loading complete database
how to get layertable without loading complete database
i am using dwgdirect2.3.0. we want to get the layer table of a very big dxf file. is it possible to do that without loading the complete database.
thanks in advance.
for a dwg file partial loading can help (parameter of readfile()).
but partial loading is not supported for dxf files. for dxf files full loading is always performed.
sergey slezkin
hi haihong!
a dxf-file a "normal" ascii-file. so load the dxf-reference from autodesk's-website and write your own "layer-parser" by this documentation. you will find the layer-informations in "tables-section.layer".
kindley regards
___________
ralph


所有的时间均为北京时间。 现在的时间是 08:05 PM.