查看单个帖子
旧 2009-05-04, 03:32 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)