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

yang686526 2009-05-07 04:16 PM

【转帖】specifying Paths
 
specifying paths
specifying paths
hi,
i would need some way to specify paths for the database where (during the readfile process) dwgdirect should search for specified files. the problem arises when i need to read files which were originally xrefs in a dwg file. i know only incorrect paths (coming from the original dwg file). when the original dwg is read, it causes no problem, if the referenced files are placed in the same directory as the "parent" dwg. however, i have to be able to read these files (using dwgdirect) independently from the "parent" dwg.
i am using dwgdirect version 1.10.
thanks for any help,
miklos
you can override oddbhostappservices::findfile(). in your implementation you can take care about searching xref files in your folders.
sergey slezkin


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