RhinoCommon API
GetPointPermitConstraintOptions Method |
Control the availability of the built-in linear, planar, curve, and surface
constraint options like "Along", "AlongPerp", "AlongTan", "AlongParallel",
"Between", "OnCrv", "OnSrf", ".x", ".y", ".z", ".xy", etc.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public void PermitConstraintOptions( bool permit )
Public Sub PermitConstraintOptions ( permit As Boolean )
Parameters
- permit
- Type: SystemBoolean
if true, then the built-in constraint options are automatically available in GetPoint.

By default, these built-in constraint options are available unless an explicit
constraint is added by calling one of the GetPoint::Constrain functions. Calling
GetPoint::ClearConstraints automatically enables the built-in constraint options.
The built-in constraint options are never visible on the command line and the
user must type the complete option name to activate these options.
