查看单个帖子
旧 2009-05-07, 05:29 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)