![]() |
【转帖】oddbfcfgetboundingpoints raises an exception
oddbfcf::getboundingpoints raises an exception
oddbfcf::getboundingpoints raises an exception hello forum, in your odamfcapp sample version 2.7.1, if you add the following piece of code at the end of cdwgview::oneditfind() code: odgepoint3darray dwgpnts ; oddbfcfptr fcf = oddbfcf::cast(targetid.safeopenobject(oddb::kforread)) ; if(fcf.isnull() == false) fcf->getboundingpoints(dwgpnts) ;run the odamfcapp sample, open the attached dwg, and launch the "edit|find" command for the handle 5f3, you will get an exception when calling getboundingpoints. why ? attached files i entered cr 5663 for it: oddbfcf::getboundingpoints() crashes if the entity has null extents. btw, members can enter defects directly to our bugzilla. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 06:08 AM. |