Click or drag to resize

GH_SwitcherComponentSwitchUnit Method (String, Boolean, Boolean)

Switch to unit with given name. If no unit with given name exists, nothing happens (old state remains).

Namespace:  Karamba.GHopper.Utilities.UIWidgets
Assembly:  Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
Syntax
public virtual void SwitchUnit(
	string unitName,
	bool recompute = true,
	bool recordEvent = true
)

Parameters

unitName
Type: SystemString
The unit to switch to.
recompute (Optional)
Type: SystemBoolean
True if the component should be recomputed.
recordEvent (Optional)
Type: SystemBoolean
True if events should be recorded.
See Also