When does IsEffectivelyErased return True

by Fenton Webb

For a database resident object that is not itself erased, there are three reasons why isEffectivelyErased() could return true:

  1. Some owner up the ownership hierarchy is erased.
  2. This object, or some object up the ownership hierarchy is returning an empty ObjectId from its ownerId() method.
  3. An owner cannot be opened for some reason somewhere up the ownership hierarchy.

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading