几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】external references and readfile (http://www.dimcax.com/hust/showthread.php?t=16266)

yang686526 2009-05-05 10:39 AM

【转帖】external references and readfile
 
external references and readfile
external references and readfile
i'm loading a dwg file. then i draw it, and during vectorization the method oddbhostappservices::findfile(...)fff"> is called.
but i wan't to know just after oddbhostappservices::readfile(...)fff"> all external files names without drawing a file.
has anyone know the solution?
thanks in advance,
mk
last edited by michał krzesiak; 6th january 2006 at 05:54 amfff">.
you can iterate through the block table. if oddbblocktablerecord::isfromexternalreference() returns true - it's xref block. use oddbblocktablerecord:athname() to get the file name.
sergey slezkin


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