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

yang686526 2009-05-04 03:32 PM

【转帖】accessing dimscale 9or header variables in general0
 
accessing dimscale (or header variables in general)
accessing dimscale (or header variables in general)
i do not see dimscale in sysvardefs hence i cannot acccess it with pdb->getdimscale().
is there another way to access a system variable that isnt in the def table? could i just go in sysvardef.h and add dimscale myself? what would be its type? (opendwg dimscale was double)
on a related note, sysvardef only lists userr and useri from 1 to 4, without the 0. (pdb->getuserr1())... so same question as above.

1. dimension variables are listed in dimvardefs.h
dimscale for example can be accessed via
pdb->dimscale() & pdb->setdimscale()
2. as i know autocad has userr, useri and users 1-5. where are no userr0 etc.
sergey slezkin

very useful info. thank you!


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