![]() |
【转帖】selecting Objects
selecting objects?
selecting objects? what is the correct procedure for displaying entities as "selected"? atm i have a selection reactor function which gets called for every selected entity: void selected(const odgsdrawabledesc& drawabledesc) { oddbobjectid id(drawabledesc.persistid); oddbentityptr pent = id.safeopenobject(oddb::kforwrite); trace2("[%s]:<%s>\n", id.gethandle().ascii().c_str(), pent->isa()->name()); pent->setcolorindex(5); } however, how do i mark these entities so that they are rendered as "selected"? thanks james currently highlighting functionality is not implemented. it's one of our priorities after cleaning up ac2004 support. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 04:15 PM. |