![]() |
GH_SwitcherComponent Methods |
The GH_SwitcherComponent type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddedToDocument | (Inherited from GH_Component.) |
![]() | AddRuntimeMessage | (Inherited from GH_ActiveObject.) |
![]() | AfterSolveInstance | (Inherited from GH_Component.) |
![]() | AppendAdditionalComponentMenuItems | (Inherited from GH_Component.) |
![]() | AppendAdditionalMenuItems |
Add evaluation units to context menu.
(Overrides GH_Component.AppendAdditionalMenuItems(ToolStripDropDown).) |
![]() | AppendMenuItems | (Inherited from GH_ActiveObject.) |
![]() | AssignInitCodeToInputParameter | (Inherited from GH_Component.) |
![]() | BakeGeometry(RhinoDoc, ListGuid) | (Inherited from GH_Component.) |
![]() | BakeGeometry(RhinoDoc, ObjectAttributes, ListGuid) | (Inherited from GH_Component.) |
![]() | BeforeSolveInstance |
executed before solve instance.
(Overrides GH_Component.BeforeSolveInstance.) |
![]() | BeforeSolveInstance(EvaluationUnit) |
executed before solve instance on the active unit.
|
![]() | ClearData | (Inherited from GH_Component.) |
![]() | ClearRuntimeMessages | (Inherited from GH_Component.) |
![]() | ClearUnit |
Clear active evaluation unit.
If the component cannot exist without an active evaluation unit, this
method does nothing.
|
![]() | CollectData | (Inherited from GH_Component.) |
![]() | ComputeData | (Inherited from GH_Component.) |
![]() | CopyFrom | (Inherited from GH_InstanceDescription.) |
![]() | CreateAttributes |
Create switcher attributes.
(Overrides GH_Component.CreateAttributes.) |
![]() | DependsOn | (Inherited from GH_Component.) |
![]() | DestroyIconCache | (Inherited from GH_DocumentObject.) |
![]() | DocumentContextChanged | (Inherited from GH_Component.) |
![]() | DrawViewportMeshes | (Inherited from GH_Component.) |
![]() | DrawViewportWires(IGH_PreviewArgs) |
DrawViewportWires override.
Invoke's an extended DrawViewportWires method that contains the active
evaluation unit.
(Overrides GH_Component.DrawViewportWires(IGH_PreviewArgs).) |
![]() | DrawViewportWires(IGH_PreviewArgs, EvaluationUnit) | |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExpireDownStreamObjects | (Inherited from GH_Component.) |
![]() | ExpirePreview | (Inherited from GH_DocumentObject.) |
![]() | ExpireSolution | (Inherited from GH_ActiveObject.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateDefaultHTML | (Inherited from GH_Component.) |
![]() | GenerateParameterHelp | (Inherited from GH_Component.) |
![]() | GenerateParameterHelp(IGH_Param) | (Inherited from GH_Component.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUnit |
Get evaluation unit from name.
|
![]() | GetValue(String, Boolean) | (Inherited from GH_DocumentObject.) |
![]() | GetValue(String, Int32) | (Inherited from GH_DocumentObject.) |
![]() | GetValue(String, Double) | (Inherited from GH_DocumentObject.) |
![]() | GetValue(String, String) | (Inherited from GH_DocumentObject.) |
![]() | GetValue(String, Color) | (Inherited from GH_DocumentObject.) |
![]() | HtmlHelp_Source | (Inherited from GH_Component.) |
![]() | IsolateObject | (Inherited from GH_Component.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Menu_AppendBakeItem | (Inherited from GH_ActiveObject.) |
![]() | Menu_AppendEnableItem | (Inherited from GH_ActiveObject.) |
![]() | Menu_AppendObjectHelp | (Inherited from GH_DocumentObject.) |
![]() | Menu_AppendObjectName | (Inherited from GH_DocumentObject.) |
![]() | Menu_AppendObjectNameEx | (Inherited from GH_DocumentObject.) |
![]() | Menu_AppendPreviewItem | (Inherited from GH_ActiveObject.) |
![]() | Menu_AppendPublish | (Inherited from GH_DocumentObject.) |
![]() | Menu_AppendRuntimeMessages | (Inherited from GH_ActiveObject.) |
![]() | MovedBetweenDocuments | (Inherited from GH_Component.) |
![]() | NewInstanceGuid | (Inherited from GH_InstanceDescription.) |
![]() | NewInstanceGuid(Guid) | (Inherited from GH_InstanceDescription.) |
![]() | OnAttributesChanged | (Inherited from GH_DocumentObject.) |
![]() | OnComponentLoaded |
OnComponentLoaded is called after Component has been loaded f.eg: when
component got deserialized.
Override in derived class to initialze data wich is depending on widgets.
|
![]() | OnComponentReset |
OnComponentReset is called when the components output(s) invalidate. This happens, when a
"nonoptional" input pulg disconnects or the components values get cleared.
|
![]() | OnDisplayExpired | (Inherited from GH_DocumentObject.) |
![]() | OnObjectChanged(GH_ObjectEventType) | (Inherited from GH_DocumentObject.) |
![]() | OnObjectChanged(String) | (Inherited from GH_DocumentObject.) |
![]() | OnObjectChanged(GH_ObjectChangedEventArgs) | (Inherited from GH_DocumentObject.) |
![]() | OnObjectChanged(GH_ObjectEventType, Object) | (Inherited from GH_DocumentObject.) |
![]() | OnObjectChanged(String, Object) | (Inherited from GH_DocumentObject.) |
![]() | OnPingDocument | (Inherited from GH_DocumentObject.) |
![]() | OnPreviewExpired | (Inherited from GH_DocumentObject.) |
![]() | OnSolutionExpired | (Inherited from GH_DocumentObject.) |
![]() | PostConstructor | (Overrides GH_Component.PostConstructor.) |
![]() | Read |
Read switcher component data.
(Overrides GH_Component.Read(GH_IReader).) |
![]() | ReadFull | (Inherited from GH_InstanceDescription.) |
![]() | RecordUndoEvent(String) | (Inherited from GH_DocumentObject.) |
![]() | RecordUndoEvent(GH_UndoRecord) | (Inherited from GH_DocumentObject.) |
![]() | RecordUndoEvent(String, IGH_UndoAction) | (Inherited from GH_DocumentObject.) |
![]() | RegisterEvaluationUnits |
Register evaluation units.
Override this method to register user defined units.
|
![]() | RegisterInputParams | (Inherited from GH_Component.) |
![]() | RegisterOutputParams | (Inherited from GH_Component.) |
![]() | RegisterRemoteIDs | (Inherited from GH_Component.) |
![]() | RemovedFromDocument | (Inherited from GH_Component.) |
![]() | RuntimeMessages | (Inherited from GH_Component.) |
![]() | SDKCompliancy | (Inherited from GH_ActiveObject.) |
![]() | SetIconOverride | (Inherited from GH_DocumentObject.) |
![]() | Setup |
Base method for initalizing menus and other attribute depending data.
Override in derived class to initialze menus.
|
![]() | SetValue(String, Boolean) | (Inherited from GH_DocumentObject.) |
![]() | SetValue(String, Int32) | (Inherited from GH_DocumentObject.) |
![]() | SetValue(String, Double) | (Inherited from GH_DocumentObject.) |
![]() | SetValue(String, String) | (Inherited from GH_DocumentObject.) |
![]() | SetValue(String, Color) | (Inherited from GH_DocumentObject.) |
![]() | SolveInstance(IGH_DataAccess) |
SolveInstance override.
Invoke's an extended SolveInstance method that contains the active
evaluation unit.
(Overrides GH_Component.SolveInstance(IGH_DataAccess).) |
![]() | SolveInstance(IGH_DataAccess, EvaluationUnit) |
Override this method to solve instance of compontent with given active unit.
|
![]() | SwitchUnit(String, Boolean, Boolean) |
Switch to unit with given name.
If no unit with given name exists, nothing happens (old state remains).
|
![]() | SwitchUnit(EvaluationUnit, Boolean, Boolean) |
Switch to supplied unit.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TriggerAutoSave | (Inherited from GH_DocumentObject.) |
![]() | TriggerAutoSave(GH_AutoSaveTrigger) | (Inherited from GH_DocumentObject.) |
![]() | TriggerAutoSave(Guid) | (Inherited from GH_DocumentObject.) |
![]() | TriggerAutoSave(GH_AutoSaveTrigger, Guid) | (Inherited from GH_DocumentObject.) |
![]() | ValuesChanged | (Inherited from GH_DocumentObject.) |
![]() | Write |
Write switcher.
(Overrides GH_Component.Write(GH_IWriter).) |
![]() | WriteFull | (Inherited from GH_InstanceDescription.) |