Table of Contents

Method Click

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Click(CadDocument, string, int)

Clicks a custom grip of a dynamic INSERT, as AutoCAD does: a flip grip flips the block (its state 0 to 1, 1 to 0), one undo step. A grip of another kind is refused: a visibility, a lookup or a block table grip lists its values (ValuesOf(CadDocument, string, int, out string)), the others are dragged.

public static CadEditResult Click(CadDocument document, string handle, int gripIndex)

Parameters

document CadDocument

The document.

handle string

The handle of the INSERT.

gripIndex int

The index of the grip, as Of(DxfEntity) gives it.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when the document is null.