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:

neditfind()
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