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
ruleCadEditRuleThe rule.
kindCadEditKindThe kind of edit.
Returns
- bool
Whether the edit may go ahead.