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

yang686526 2009-05-04 03:34 PM

【转帖】acdbentlast analogy
 
acdbentlast analogy
acdbentlast analogy
hi,
is there in dwgdirect some method, sysvar, or anything else that can return the last appended oddbentity in a given database.
in arx such function was acdbentlast.
thanks in advance for any help.
regards
chudomir
to my knowledge there no such. but you can retrieve and iterator for the block (*model_space or *paper_space) and traverse to the end.
yes, i've already done this, but forgot to post the info.
i was really blind just not to call newiterator(false).
thanks.
regards
chudomir


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