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

yang686526 2009-05-06 07:42 PM

【转帖】oddbentityviewportdraw
 
oddbentity::viewportdraw
oddbentity::viewportdraw
hello. i have a question.
in odreadex, calling of oddbentity::worlddraw retrieves all geometry information on modelspace. thank you for the sample .
and i would like to convert data of geometry on modelspace which is seen through the viewport of paperspace. then figures on modelspace seen through viewport
needs to be auquired.
i found the function of oddbentity::viewportdraw, i used viewportdraw instead of worlddraw in odreadex. but it does not work. no information is dumped.
doesn't oddbentity::viewportdraw have the function which i would like to?
best regards
microart nobuaki chiba
most entities render themselfs via worlddraw(). viewportdraw() is used only if entity's geometry is viewport dependent. for example a point which size depends on screen size.
sergey slezkin


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