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

yang686526 2009-05-05 10:57 AM

【转帖】finding dwf and dgn references
 
finding dwf and dgn references
finding dwf and dgn references
hi all,
i have a what i hope is a simple question. can anyone tell me how i can find dwf and dgn references that have been added with the dwfattach and dgnattach commands in autocad?
i am currently finding dwg external references by iterating over the block table and finding block table records that return true in isexternalreference(). that doesn't appear to work for dwf and dgn references.
thanks,
chad
dwf and dgn files are inserted into dwg drawing very similar to raster files.
see oddbunderlaydefinition and oddbunderlayreference classes. underlays for dwf and dgn are derived from them.
like definition objects for raster files underlay definitions are contained in acad_dwfdefinition and acad)dgndefinition dictionaries.
sergey slezkin
thank you very much for the prompt reply. i'll give that a shot.
-chad


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