Skip to content

GetBaseClass.EnableTransparentCommands

Public Class

Control the availability of transparent commands during the get.

Namespace: Rhino.Input.Custom

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public void EnableTransparentCommands(
bool enable
)

Parameters

enable

Type:System.Boolean
If true, then transparent commands can be run during the get. If false, then transparent commands cannot be run during the get.

Remarks

Some Rhino commands are “transparent” and can be run inside of other commands. Examples of transparent commands include the view manipulation commands like ZoomExtents, Top, etc., and the selection commands like SelAll, SelPoint, etc. By default transparent commands can be run during any get. If you want to disable this feature, then call EnableTransparentCommands(false) before calling GetString, GetPoint, GetObject, etc.