![]() |
【转帖】invalid id by oddbviewportgetfrozenlayerlis
invalid id by oddbviewport::getfrozenlayerlist
invalid id by oddbviewport::getfrozenlayerlist hi, read attachment file. exception error. text havigng annotation scales. code: oddbviewport pent; ... oddbobjectidarray ary; pent->getfrozenlayerlist( ary ); for( int i=0; i<ary.size(); i++ ) { oddbobjectid id = ary.getat(i); if( !id.isnull() ) { oddblayertablerecordptr play = id.safeopenobject(); // exception error!! ... } }thanks. attached files there is a bug in 2.5.1 with frozzen layers list. the workaround is to check if the layer id is erased. vladimir |
所有的时间均为北京时间。 现在的时间是 04:42 PM. |