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

yang686526 2009-05-05 11:25 AM

【转帖】getting a poin
 
getting a point
getting a point
when i read in a dwg file with a point entity, the sample dbdumper class treats is as a generic entity. i do not see access functions for the position and name. what am i missing? is there a specific class for a point?
how do i get to the information for a point: position and name?
thanks,
bill

readex dumps point as generic entity because there aren't protocol extension defined for oddbpoint class.
there is specific class for point entity - oddbpoint. you can obtain location of point using oddbpoint::position(). there is no name of point (or maybe i misunderstood something)
sincerely yours,
george udov
thanks
thanks george.
i know it must be a little frustrating working with those of us unfamiliar with dwg formats, but you're doing well.
your answer helped me get what i wanted and it made me understand stuff right under my nose. i just needed that little extra nudge.
good job.
bill


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