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

yang686526 2009-05-07 05:29 PM

【转帖】wo Questions
 
two questions
two questions
1.i have add file search for exhostappservices,when i debug my program,use the argument pdb for 'findfile' to get file name for dwg(when pdb!=null),why sometime file name is null.
2.how do i to get all subentity for oddbregion class.

1. oddbhostappservices::findfile() returns null if it is unable to locate the file. the function can be overridden in your oddbhostappservices inheritor. its default implementation searches the folder there database file reside and folders listed in "acad" variable of environment.
2. you can use br interface to parse acis data:
odbrbrep brep;
brep.set(pregion->body());
...
sergey slezkin

thank you very much!


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