API Reference > OdDg Classes > OdDgElementId Class > OdDgElementId Methods
OdDgElementId Methods

The methods of the OdDgElementId class are listed here.

 
Name 
Description 
 
If this ObjectId object has been redirected from another database (possibly an Xref), this function returns the actual ObjectId object for that database. 
 
Returns the database with which this ObjectId object is associated. 
 
Returns the database handle of the object referenced by this ObjectId object. 
 
Returns the database handle of the object referenced by this ObjectId object. 
 
Returns true if and only if the object associated with this ObjectId object is erased. 
 
Returns true and only if this ObjectId object is null. 
 
Returns true and only if this ObjectId object references a valid object. 
 
Opens the database object associated with this ObjectId object, in the specified mode.
 
 
Returns the original database with which this ObjectId object is associated. 
 
Opens the database object associated with this ObjectId object, in the specified mode, or throws and exception if unsucessful.
 
 
Sets this Object ID to null. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.