Hello,
I asked the my question in a wrong way. What I mean is: If I want to delete
a Blockreference with xdata (similar to Acadcommand: _erase) can I do this
in the following usual way (minimal code without any errorchecking) ?:
acdbOpenObject(pObj,blkRefId,AcDb::kForWrite);
pObj->erase();
pObj->close();
or do I have to consider something because of the xdata ?
Regards Jörg
"Art Cooney"
schrieb im Newsbeitrag
news:31E32BC7A54E7240FAC6EF550338FA74@in.WebX.maYIadrTaRb...
> The erase() method doesn't remove anything from memory. All it does is
> toggle a flag in the object that indicates whether or not the object is
> erased.
>
> "Jörg Kühne" wrote in message
> news:1120CDFFB7EEAC6859D1DA15E36EE2DA@in.WebX.maYIadrTaRb...
> > Hello,
> >
> > if I erase a AcDbBlockReference (with pBlockRef->erase()) that contains
> > Xdata , is the Data of the Xdata correctly removed from memory or do i
> have
> > to do some extra action for this ?
> >
> > Thank you
> > Jörg
> >
> >
> >
> >
> >
>
>