Method GetObject
GetObject(string)
Reads an object by its handle.
public DxfEntity GetObject(string handle)
Parameters
handlestringThe handle in the drawing, or the ticket of an object inserted and committed.
Returns
- DxfEntity
A copy of the object as it is now, or null when the drawing has no object of that handle.
Exceptions
- ArgumentNullException
Thrown when the handle is null.
- CadRemoteException
Thrown when the drawing is closed or the handle is the ticket of an object not committed yet.