Click or drag to resize

GH_SwitcherComponent Methods

The GH_SwitcherComponent type exposes the following members.

Methods
  NameDescription
Public methodAddedToDocument (Inherited from GH_Component.)
Public methodAddRuntimeMessage (Inherited from GH_ActiveObject.)
Protected methodAfterSolveInstance (Inherited from GH_Component.)
Protected methodAppendAdditionalComponentMenuItems (Inherited from GH_Component.)
Public methodAppendAdditionalMenuItems
Add evaluation units to context menu.
(Overrides GH_Component.AppendAdditionalMenuItems(ToolStripDropDown).)
Public methodAppendMenuItems (Inherited from GH_ActiveObject.)
Protected methodAssignInitCodeToInputParameter (Inherited from GH_Component.)
Public methodBakeGeometry(RhinoDoc, ListGuid) (Inherited from GH_Component.)
Public methodBakeGeometry(RhinoDoc, ObjectAttributes, ListGuid) (Inherited from GH_Component.)
Protected methodBeforeSolveInstance
executed before solve instance.
(Overrides GH_Component.BeforeSolveInstance.)
Protected methodBeforeSolveInstance(EvaluationUnit)
executed before solve instance on the active unit.
Public methodClearData (Inherited from GH_Component.)
Public methodClearRuntimeMessages (Inherited from GH_Component.)
Public methodClearUnit
Clear active evaluation unit. If the component cannot exist without an active evaluation unit, this method does nothing.
Public methodCollectData (Inherited from GH_Component.)
Public methodComputeData (Inherited from GH_Component.)
Public methodCopyFrom (Inherited from GH_InstanceDescription.)
Public methodCreateAttributes
Create switcher attributes.
(Overrides GH_Component.CreateAttributes.)
Public methodDependsOn (Inherited from GH_Component.)
Protected methodDestroyIconCache (Inherited from GH_DocumentObject.)
Public methodDocumentContextChanged (Inherited from GH_Component.)
Public methodDrawViewportMeshes (Inherited from GH_Component.)
Public methodDrawViewportWires(IGH_PreviewArgs)
DrawViewportWires override. Invoke's an extended DrawViewportWires method that contains the active evaluation unit.
(Overrides GH_Component.DrawViewportWires(IGH_PreviewArgs).)
Protected methodDrawViewportWires(IGH_PreviewArgs, EvaluationUnit)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExpireDownStreamObjects (Inherited from GH_Component.)
Public methodExpirePreview (Inherited from GH_DocumentObject.)
Public methodExpireSolution (Inherited from GH_ActiveObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGenerateDefaultHTML (Inherited from GH_Component.)
Protected methodGenerateParameterHelp (Inherited from GH_Component.)
Protected methodGenerateParameterHelp(IGH_Param) (Inherited from GH_Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnit
Get evaluation unit from name.
Protected methodGetValue(String, Boolean) (Inherited from GH_DocumentObject.)
Protected methodGetValue(String, Int32) (Inherited from GH_DocumentObject.)
Protected methodGetValue(String, Double) (Inherited from GH_DocumentObject.)
Protected methodGetValue(String, String) (Inherited from GH_DocumentObject.)
Protected methodGetValue(String, Color) (Inherited from GH_DocumentObject.)
Protected methodHtmlHelp_Source (Inherited from GH_Component.)
Public methodIsolateObject (Inherited from GH_Component.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMenu_AppendBakeItem (Inherited from GH_ActiveObject.)
Protected methodMenu_AppendEnableItem (Inherited from GH_ActiveObject.)
Protected methodMenu_AppendObjectHelp (Inherited from GH_DocumentObject.)
Protected methodMenu_AppendObjectName (Inherited from GH_DocumentObject.)
Protected methodMenu_AppendObjectNameEx (Inherited from GH_DocumentObject.)
Protected methodMenu_AppendPreviewItem (Inherited from GH_ActiveObject.)
Protected methodMenu_AppendPublish (Inherited from GH_DocumentObject.)
Protected methodMenu_AppendRuntimeMessages (Inherited from GH_ActiveObject.)
Public methodMovedBetweenDocuments (Inherited from GH_Component.)
Public methodNewInstanceGuid (Inherited from GH_InstanceDescription.)
Public methodNewInstanceGuid(Guid) (Inherited from GH_InstanceDescription.)
Public methodOnAttributesChanged (Inherited from GH_DocumentObject.)
Protected methodOnComponentLoaded
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.
Protected methodOnComponentReset
OnComponentReset is called when the components output(s) invalidate. This happens, when a "nonoptional" input pulg disconnects or the components values get cleared.
Public methodOnDisplayExpired (Inherited from GH_DocumentObject.)
Public methodOnObjectChanged(GH_ObjectEventType) (Inherited from GH_DocumentObject.)
Public methodOnObjectChanged(String) (Inherited from GH_DocumentObject.)
Public methodOnObjectChanged(GH_ObjectChangedEventArgs) (Inherited from GH_DocumentObject.)
Public methodOnObjectChanged(GH_ObjectEventType, Object) (Inherited from GH_DocumentObject.)
Public methodOnObjectChanged(String, Object) (Inherited from GH_DocumentObject.)
Public methodOnPingDocument (Inherited from GH_DocumentObject.)
Public methodOnPreviewExpired (Inherited from GH_DocumentObject.)
Public methodOnSolutionExpired (Inherited from GH_DocumentObject.)
Protected methodPostConstructor (Overrides GH_Component.PostConstructor.)
Public methodRead
Read switcher component data.
(Overrides GH_Component.Read(GH_IReader).)
Public methodReadFull (Inherited from GH_InstanceDescription.)
Public methodRecordUndoEvent(String) (Inherited from GH_DocumentObject.)
Public methodRecordUndoEvent(GH_UndoRecord) (Inherited from GH_DocumentObject.)
Public methodRecordUndoEvent(String, IGH_UndoAction) (Inherited from GH_DocumentObject.)
Protected methodRegisterEvaluationUnits
Register evaluation units. Override this method to register user defined units.
Protected methodRegisterInputParams (Inherited from GH_Component.)
Protected methodRegisterOutputParams (Inherited from GH_Component.)
Public methodRegisterRemoteIDs (Inherited from GH_Component.)
Public methodRemovedFromDocument (Inherited from GH_Component.)
Public methodRuntimeMessages (Inherited from GH_Component.)
Public methodSDKCompliancy (Inherited from GH_ActiveObject.)
Public methodSetIconOverride (Inherited from GH_DocumentObject.)
Protected methodSetup
Base method for initalizing menus and other attribute depending data. Override in derived class to initialze menus.
Protected methodSetValue(String, Boolean) (Inherited from GH_DocumentObject.)
Protected methodSetValue(String, Int32) (Inherited from GH_DocumentObject.)
Protected methodSetValue(String, Double) (Inherited from GH_DocumentObject.)
Protected methodSetValue(String, String) (Inherited from GH_DocumentObject.)
Protected methodSetValue(String, Color) (Inherited from GH_DocumentObject.)
Protected methodSolveInstance(IGH_DataAccess)
SolveInstance override. Invoke's an extended SolveInstance method that contains the active evaluation unit.
(Overrides GH_Component.SolveInstance(IGH_DataAccess).)
Protected methodSolveInstance(IGH_DataAccess, EvaluationUnit)
Override this method to solve instance of compontent with given active unit.
Public methodSwitchUnit(String, Boolean, Boolean)
Switch to unit with given name. If no unit with given name exists, nothing happens (old state remains).
Protected methodSwitchUnit(EvaluationUnit, Boolean, Boolean)
Switch to supplied unit.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTriggerAutoSave (Inherited from GH_DocumentObject.)
Public methodTriggerAutoSave(GH_AutoSaveTrigger) (Inherited from GH_DocumentObject.)
Public methodTriggerAutoSave(Guid) (Inherited from GH_DocumentObject.)
Public methodTriggerAutoSave(GH_AutoSaveTrigger, Guid) (Inherited from GH_DocumentObject.)
Protected methodValuesChanged (Inherited from GH_DocumentObject.)
Public methodWrite
Write switcher.
(Overrides GH_Component.Write(GH_IWriter).)
Public methodWriteFull (Inherited from GH_InstanceDescription.)
Top
See Also