高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how do i set the blip mode
how do i set the blip mode?
how do i set the blip mode?
i have this code fragment:
code:
void cvertcheckdlg::initialisedrawing(oddbdatabase *pdb)
{
assert( pdb != null );
if( pdb != null )
{
// set drawing date and time
setdrawingdatetime( pdb, coledatetime::getcurrenttime() );
// switch off blipmode
pdb->setblipmode( 0 );
// add any other drawing setup here.....
}
}
but it won't compile saying:
c:\my programs\vertcheck\vertcheckdlg.cpp(1417) : error c2039: 'setblipmode' : is not a member of 'oddbdatabase'
c:\dwgdirect\include\dbdatabase.h(122) : see declaration of 'oddbdatabase'
please clarify how i can set this variable...
andrew
blipmode is not saved in drawing. it's saved by autocad in registry. so setblipmode() is not oddbdatabase but oddbhostappservices method.
in sysvardefs.h container such variables are defined by regvar_def macro (not by var_def as database ones)
sergey slezkin
i see. i did notice it in the sysvardefs.h file and couldn't work it out. i have just left it as it is then, since it should evidently be left as to whatever autocad has set it to.
thanks for clarification.
andrew
|