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

yang686526 2009-05-06 11:18 PM

【转帖】problem with getsysvar
 
problem with getsysvar
problem with getsysvar
hi,
i having problem with using getsysvar function using a valid database pointer,
it was working fine with ver. 1.3 but with version 1.4, except that every thing working fine, but as i use getsysvar program throws an exception.
( err desc - "invalid input"). is there anything i need to do access system variables.
thanks in adv
which variable are you trying to access then you get einvalidinput?
pdb->getxxx() and pdb->getsysvar("xxx") are not always the same.
example:
getextmin(), getpextmin()
but only getsysvar("extmin") is valid. it returns extmin of active layout. and getsysvar("pextmin") throws.
sergey slezkin


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