![]() |
【转帖】about grippoints... help me
about grippoints... help me....
about grippoints... help me.... hi i think that mdi is very similar with sdi. i'm programming activex control using odamfc(dwgdirect 2.2.0) with sdi grippoints is activated in mdi but isn't activated in sdi. i want to get grippoints for measurement. is this the right solution, or is there another way? thanks in advance for help regards noh <editorobject.cpp> if(m_pgrippoints.get()) pview->erase(m_pgrippoints); if ( psset->numentities()>0 ) // because retrun value 0 in sdi { m_pgrippoints = odrxcreateobject( dd_t("grippointscloning") ); if ( m_pgrippoints.get() ) { oddbselectionsetiteratorptr piter = psset->newiterator(); while ( !piter->done() ) { m_pgrippoints->addentity( piter->objectid() ); piter->next(); } pview->add(m_pgrippoints, 0); } } hi, so does it works ? quote: originally posted by dmitry a. novikov hi, so does it works ? hi yes! grippoints actived in mdi but not actived in sdi. i want grippoints in sdi. |
| 所有的时间均为北京时间。 现在的时间是 07:24 PM. |