FunctionEditorObject
Parameter<1>AbstractParameterActiveObjectDocumentObjectConstructors
Properties
Access
AccessVariability
Activity
ChildrenObjects
ColourOverride
Connectivity
CustomValues
Display
DisplayCapable
DisplayName
DisplayStyle
Document
EntireFamily
Expression
ExpressionEnabled
ExpressionText
FallbackName
FoundingObject
HardMetaData
IconInternal
Inputs
InstanceId
Kind
ModifierIcons
Modifiers
Outputs
ParentObject
PersistentData
PersistentDataWeak
PostProcessInputTrees
Presets
PresetsWeak
ProgressPercentage
Relevance
Requirement
Selection
SiblingObjects
SoftMetaData
State
TypeAssistant
TypeAssistantWeak
TypeFlavour
Methods
AddUndoRecord
AddUndoRecord
| panel (InputPanel) |
AppendCleaningModifiers
| panel (InputPanel) |
AppendCustomModifiers
| panel (InputPanel) |
AppendDataElements
| panel (InputPanel) |
AppendExpressionModifier
| panel (InputPanel) |
AppendModifierIcons
| icons (ModifierIcons) |
AppendOrderingModifierElements
| panel (InputPanel) |
AppendStateInput
| panel (InputPanel) | Panel to append to. |
| enabledState (bool) | If true, the Enabled state button will be modifiable. |
| displayState (bool) | If true, the Display state button will be modifiable. |
AppendTopologyModifierElements
| panel (InputPanel) |
AppendUserNameInput
| panel (InputPanel) |
AppendVariableAccessElements
| panel (InputPanel) |
ChangeInstanceIds
| map (Dictionary<Guid, Guid>) |
ClearModifierIcons
CollectFromPersistent
| id (SolutionId) |
CollectFromSources
Compute
ComputeInternal
CreateAttributes
#CreateDisplayFromTree
| tree (Tree<T>) | |
| bag (DisplayBag) | |
| token (CancellationToken) |
CreateEmptyTree
CreateValueControl
DisplayBounds
DisplayFaces
| pipeline (DisplayPipeline) | |
| guises (Guises) | |
| extents (ref BoundingBox) |
DisplayWires
| pipeline (DisplayPipeline) | |
| guises (Guises) | |
| extents (ref BoundingBox) |
EditMetaData
EditPersistentValues
Expire
ExpireAllRecipients
ExpireDisplay
ExpireReferences
| filter (Func<Guid, bool>) | Validator method. Only references which pass this filter need to be taken into account. |
| document (RhinoDoc) | Rhino document to search. |
| retainReferences (bool) | If true, missing references ought to be removed. I.e. GH1-style behaviour. |
GetAllSourceTrees
GetCreationInfo
GetModificationInfo
| name (out string) | Name of modifier. |
| time (out DateTime) | Time of modification in UTC coordinates. |
currentFrame runs from zero to totalFrames minus one: frame zero is start and the final frame is end. When the start and end states are identical, or when the totalFrames equals zero, the animation server is putting this object back into an original (not-animated) state.
Implementers must change the state of the object to match the interpolated animation states, but they should *not* record undo events or trigger new solutions.
| start (IObjectState) | State belonging to frame zero. |
| end (IObjectState) | State belonging to the final frame. |
| currentFrame (long) | Index of the frame to apply. |
| totalFrames (long) | Number of frames spanning the two states. |
| lowest (out IObjectState) | The lowest state this object can hold. |
| highest (out IObjectState) | The highest state this object can hold. |
An object with a finite number of states answers with how many of them lie between the two, so the animation visits each exactly once. An object of unlimited accuracy — an angle or a number line, say — answers with whatever sampling is natural over that range instead, since it is the one which knows what a sensible step through its own values looks like. Nothing else is in a position to guess.
It depends on the states because the range does: a slider covering a tenth of its domain has a tenth of the values to visit.
Both states are always supplied. A binding with no limits of its own passes the extremes this object reported from IAnimatableObject.GetCurrentState(IObjectState, IObjectState), so there is never a missing state to defend against — only, as ever, the possibility of one belonging to some other object.
| start (IObjectState) | State belonging to the first frame. |
| end (IObjectState) | State belonging to the last frame. |
InvalidateExistingLayout
LoadNewPersistentData
- Add an undo record for the current persistent data.
- Assign new persistent data.
- Expire the parameter.
- Trigger a new solution on the document which owns this parameter.
| values (params T[]) |
LoadNewPersistentData
- Add an undo record for the current persistent data.
- Assign new persistent data.
- Expire the parameter.
- Trigger a new solution on the document which owns this parameter.
| values (Tree<T>) |
ModifyAndProcessResult
| solution (Solution) | |
| stack (CallStack) | |
| result (SolutionData) |
ModifyIcon
| newIcon (IIcon) | New icon to assign, or null to revert to the default icon. |
| overrideExtrinsicIcon (bool = true) | If true, the permanent extrinsic icon will be overwritten. If false, the temporary intrinsic icon will be overwritten. |
ModifyNameAndInfo
OnExpired
OverrideAccess
OverrideAccess
| access (Access) |
OverrideAttributes
| attributes (IAttributes) | New attributes to assign. Assigning null will revert to default attributes. |
PickManyItems
PickOneItem
PopulateDisplay
| result (SolutionData) | |
| bag (DisplayBag) | |
| token (CancellationToken) |
ProcessResult
| solution (Solution) | Solution associated with this result. |
| intermediateResult (SolutionData) | Default result computed by the standard parameter implementation. |
RequestAutoSave
| reason (AutoSaveReason) | Autosave reason. |
| autosaveId (Guid) | Autosave Id. Consecutive requests with identical Ids are ignored. |
RequestAutoSave
| reason (AutoSaveReason) | Autosave reason. |
Set
| pears (params Pear<T>[]) |
Set
| values (params T[]) |
Set
| tree (Tree<T>) |
SetCreationInfo
SetModificationInfo
SetProgressPercentage
| percentage (int) |
SetProgressPercentage
UpdateDisplay
| data (SolutionData) | |
| rules (DisplayRules) | |
| token (CancellationToken) |