Table of Contents

Method HandleOf

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

HandleOf(DxfEntity)

Gets the handle an object read from this drawing has in the app's drawing.

public string HandleOf(DxfEntity entity)

Parameters

entity DxfEntity

An object returned by GetObject(string), GetObjects(CadObjectFilter) or GetSelectedObjects() of this drawing.

Returns

string

The handle in the app's drawing, or null for an object this drawing did not give.

Exceptions

ArgumentNullException

Thrown when the entity is null.