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

yang686526 2009-05-05 11:40 AM

【转帖】gridmode settings
 
gridmode settings
gridmode settings
sysvardefs.h has the gridmode settings commented out. is it possible to keep these around? i noticed that there appear to be grid settings associated with the viewports. can someone clarify this for me?
tyler
i'm using this:
code:
oddbviewporttableptr pvt=database()->getviewporttableid().safeopenobject();
oddbviewporttablerecordptr prec=pvt->getactiveviewportid().safeopenobject(oddb::kforwrite);
prec->setgridenabled(true);
prec->setgridincrements(odgepoint2d(10,10));i don't see a grid drawn...do i need to set some global (db) setting or something?
quote:
originally posted by george udov
dd doesn't support yet displaying of grid.
dd supports only setting it on/off.
hello,
may i ask you if it's still the same ?


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