高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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!
|