Table of Contents

Method Allows

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Allows(CadEditRule, CadEditKind)

Says whether a rule lets an edit of a kind through: Free and Edit every kind, MoveOnly a Move only, ReadOnly none.

public static bool Allows(CadEditRule rule, CadEditKind kind)

Parameters

rule CadEditRule

The rule.

kind CadEditKind

The kind of edit.

Returns

bool

Whether the edit may go ahead.