This function calls the GetObject() function of the top transaction passing on all the arguments it has received. Objects can only be obtained within the top transaction, so this function saves the trouble of having to either keep a pointer to the top transaction or use the TransactionManager.TopTransaction property to obtain it.
For more information, see the section on transactions in the ObjectARX Developer's Guide.
Public virtual Function GetObject( id As ObjectId, mode As Autodesk.AutoCAD.DatabaseServices.OpenMode ) As DBObject
public virtual DBObject GetObject( ObjectId id, Autodesk.AutoCAD.DatabaseServices.OpenMode mode );
|
Parameters |
Description |
|
ObjectId id |
Input objectId of object to obtain |
|
Autodesk.AutoCAD.DatabaseServices.OpenMode mode |
Input mode to obtain in |
| Comments? |