|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how can i save ucsvp to the drawing
how can i save "ucsvp" to the drawing?
how can i save "ucsvp" to the drawing?
i use setsysvar,but it don't work.
hi,
i have tested ucsvp with mfcapp. i change ucsvp from 1 to 0 and save file, load it and ucsvp is 0.
hi
how did you do it?could you show me some codes?thx
mfcapp has edit\console, type ucsvp and change value, save, reopen and check new value (tested with 2.4.1).
code :
oddbdatabase* pdb = getdocument()->m_pdb;
odresbufptr prb = odresbuf::newrb(odresbuf::krtint16, (odint16)0);
pdb->setsysvar("ucsvp", prb);
ucsvp isn't stored in database system variables, but in active viewport.
|