Table of Contents

Method GetObject

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetObject(string)

Reads an object by its handle.

public DxfEntity GetObject(string handle)

Parameters

handle string

The 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.