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

yang686526 2009-05-06 10:10 PM

【转帖】point style
 
point style?
point style?
hi,
in autocad, i can use ddptype command to set the current point style for the drawing. is there any way to set the point style with the dwgdirect library?
thanks,
actually ddptype runs a dialog to set the pdmode and pdsize variables.
to set/get these variables, you should use oddbdatabase::getpdsize, oddbdatabase::setpdsize, oddbdatabase::getpdmode and oddbdatabase::setpdmode.
to gain access to any other system variables supported by dwgdirect, you should use oddbdatabase::set### or oddbdatabase::get### where ### is the name of the variable in capital letters.
you won't find these in the documentation i think, because they are generated through marcros. but you can see a list of the supported variables in the file "sysvardefs.h".
hope this helps.
regards
chudomir
it helps,
thank you very much.
hanh


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