|
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)
Syntaxpublic virtual void SwitchUnit(
string unitName,
bool recompute = true,
bool recordEvent = true
)
Public Overridable Sub SwitchUnit (
unitName As String,
Optional recompute As Boolean = true,
Optional recordEvent As Boolean = true
)
public:
virtual void SwitchUnit(
String^ unitName,
bool recompute = true,
bool recordEvent = true
)
abstract SwitchUnit :
unitName : string *
?recompute : bool *
?recordEvent : bool
(* Defaults:
let _recompute = defaultArg recompute true
let _recordEvent = defaultArg recordEvent true
*)
-> unit
override SwitchUnit :
unitName : string *
?recompute : bool *
?recordEvent : bool
(* Defaults:
let _recompute = defaultArg recompute true
let _recordEvent = defaultArg recordEvent true
*)
-> unit
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