Param_ModelStandardViewport Methods |
The Param_ModelStandardViewport type exposes the following members.
Name | Description | |
---|---|---|
AddedToDocument |
This method will be called when an object is added to a document.
Override this method if you want to handle such events.
(Inherited from GH_DocumentObject.) | |
AddRuntimeMessage |
Add a new message to this object. Valid message type flags are Warning and Error.
If the Message string is empty or zero-length no message is added.
(Inherited from GH_ActiveObject.) | |
AddSource(IGH_Param) |
Append a new Source parameter to the end of the Sources list.
Sources provide this parameter with data at runtime.
(Inherited from GH_ParamT.) | |
AddSource(IGH_Param, Int32) |
Insert a new Source parameter into the Sources list.
Sources provide this parameter with data at runtime.
(Inherited from GH_ParamT.) | |
AddVolatileData(GH_Path, Int32, T) | (Inherited from GH_ParamT.) | |
AddVolatileData(GH_Path, Int32, Object) |
Inserts an item of volatile data into the data structure.
(Inherited from GH_ParamT.) | |
AddVolatileDataList(GH_Path, ListT) | (Inherited from GH_ParamT.) | |
AddVolatileDataList(GH_Path, IEnumerable) | (Inherited from GH_ParamT.) | |
AddVolatileDataTree(GH_StructureT) | (Inherited from GH_ParamT.) | |
AddVolatileDataTree(IGH_Structure) | (Inherited from GH_ParamT.) | |
AppendAdditionalMenuItems | (Inherited from GH_PersistentParamT.) | |
AppendMenuItems |
This function is called when a context menu is about to be displayed.
Override it to set custom items. GH_ActiveObject will already populate
the menu with default items, if you merely wish to insert object-specific
menu item, consider overriding AppendAdditionalMenuItems instead.
(Inherited from GH_ActiveObject.) | |
BakeGeometry(RhinoDoc, ListGuid) | (Inherited from ModelContentParamT.) | |
BakeGeometry(RhinoDoc, ObjectAttributes, ListGuid) | (Inherited from ModelContentParamT.) | |
ClearData | (Inherited from GH_PersistentReferenceParamT.) | |
ClearProxySources |
Remove all proxy sources without attempting to relink them.
(Inherited from GH_ParamT.) | |
ClearRuntimeMessages |
Destroy all warning and error lists
(Inherited from GH_ActiveObject.) | |
CollectData | (Inherited from GH_ParamT.) | |
ComputeData | (Inherited from GH_ParamT.) | |
CopyFrom |
Copy all fields (except the instance ID) from another instance description.
(Inherited from GH_InstanceDescription.) | |
CreateAttributes | (Inherited from GH_ParamT.) | |
CreateProxySources |
Convert all proper source parameters into proxy sources.
(Inherited from GH_ParamT.) | |
DependsOn | (Inherited from GH_ParamT.) | |
DocumentContextChanged |
This method will be called when the document that owns this object moves into a different context.
(Inherited from GH_DocumentObject.) | |
ExpirePreview |
Call this function when you suspect that the preview has expired for this object.
This will cause the display cache to be eradicated.
(Inherited from GH_DocumentObject.) | |
ExpireSolution |
Informs the document that owns this object that the solution has expired.
The current object will be set to BLANK as a result. This method is recursive,
it will also expire any and all objects which depend on this object.
If you want a less destructive expiration, consider using ClearData().
If this object is already Blank, you should consider not expiring it.
(Inherited from GH_ActiveObject.) | |
ExpireSolutionTopLevel |
Invoke the Expiresolution(bool) method on the toplevel object.
(Inherited from GH_ParamT.) | |
IsolateObject | (Inherited from GH_ParamT.) | |
MovedBetweenDocuments |
This method will be called when an object is moved from one document to another.
Override this method if you want to handle such events.
(Inherited from GH_DocumentObject.) | |
NewInstanceGuid |
Generate a new random instance GUID
(Inherited from GH_InstanceDescription.) | |
NewInstanceGuid(Guid) |
Set the instance ID to be a specific GUID. This is very dangerous, only use this function
if you're 6"4' and your first name is David.
(Inherited from GH_InstanceDescription.) | |
OnAttributesChanged |
Raises the AttributesChanged event on the toplevel object.
(Inherited from GH_DocumentObject.) | |
OnDisplayExpired |
Raises the DisplayExpired event on the toplevel object.
(Inherited from GH_DocumentObject.) | |
OnObjectChanged(GH_ObjectChangedEventArgs) | (Inherited from GH_DocumentObject.) | |
OnObjectChanged(GH_ObjectEventType) | (Inherited from GH_DocumentObject.) | |
OnObjectChanged(String) | (Inherited from GH_DocumentObject.) | |
OnObjectChanged(GH_ObjectEventType, Object) | (Inherited from GH_DocumentObject.) | |
OnObjectChanged(String, Object) | (Inherited from GH_DocumentObject.) | |
OnPingDocument |
Raise the PingDocument Event on the toplevel object and try to find
the document which owns this object.
(Inherited from GH_DocumentObject.) | |
OnPreviewExpired |
Raises the PreviewExpired event on the toplevel object.
(Inherited from GH_DocumentObject.) | |
OnSolutionExpired |
Raises the SolutionExpired event on the toplevel object.
You probably want to call ExpireSolution() instead of this method directly.
(Inherited from GH_DocumentObject.) | |
Read | (Inherited from GH_PersistentParamT.) | |
ReadFull |
GH_InstanceDescription does not by default serialize all fields.
Use this function to read all fields from the archive.
This method is compatible with the default Write()/Read() operations.
(Inherited from GH_InstanceDescription.) | |
RecordUndoEvent(GH_UndoRecord) |
Record an entire undo record.
(Inherited from GH_DocumentObject.) | |
RecordUndoEvent(String) |
Record a generic object change undo event.
(Inherited from GH_DocumentObject.) | |
RecordUndoEvent(String, IGH_UndoAction) |
Record a specific object change undo event.
(Inherited from GH_DocumentObject.) | |
RegisterRemoteIDs | (Inherited from ModelContentParamT.) | |
RelinkProxySources |
Attempt to replace all proxy sources with real sources.
Proxy sources are used during file IO, when actual sources might not be available yet.
Once an IO operation has been completed there should be no more proxy sources.
(Inherited from GH_ParamT.) | |
RemoveAllSources |
Remove all sources from this parameter.
(Inherited from GH_ParamT.) | |
RemovedFromDocument |
This method will be called when an object is removed from a document.
Override this method if you want to handle such events.
(Inherited from GH_DocumentObject.) | |
RemoveEffects |
Remove all post-process effects. Note to implementors,
you must call the base method if you override this function.
(Inherited from GH_ParamT.) | |
RemoveSource(Guid) |
Remove the specified source from this parameter.
(Inherited from GH_ParamT.) | |
RemoveSource(IGH_Param) |
Remove the specified source from this parameter.
(Inherited from GH_ParamT.) | |
ReplaceSource(Guid, IGH_Param) |
Replace an existing source with a new one. If the old_source
does not exist in this parameter, nothing happens.
(Inherited from GH_ParamT.) | |
ReplaceSource(IGH_Param, IGH_Param) |
Replace an existing source with a new one. If the old_source
does not exist in this parameter, nothing happens.
(Inherited from GH_ParamT.) | |
RuntimeMessages |
Gets the list of cached runtime messages that were recorded during solver-time processes.
(Inherited from GH_ActiveObject.) | |
SDKCompliancy |
Test whether this object is compliant with a given Rhino version.
(Inherited from GH_ActiveObject.) | |
SetIconOverride |
Set a new custom icon override for this object.
(Inherited from GH_DocumentObject.) | |
SetPersistentData(T) |
Add a single item to the persistent data.
This method will record an undo event, raise the OnObjectChanged event
for PersistentData flags and place a call to ExpireSolution(False).
If you want to add more than one piece of data, you should use the appropriate overload for this method.
(Inherited from GH_PersistentParamT.) | |
SetPersistentData(GH_StructureT) |
Assign a tree of items to the persistent data.
This method will erase any existing data,
record an undo event,
raise the OnObjectChanged event for PersistentData flags and
place a call to ExpireSolution(False).
If you want to add a tree of data, you should use the appropriate overload for this method.
(Inherited from GH_PersistentParamT.) | |
SetPersistentData(IEnumerableT) |
Assign a list of items to the persistent data.
This method will erase any existing data,
record an undo event,
raise the OnObjectChanged event for PersistentData flags and
place a call to ExpireSolution(False).
If you want to add a tree of data, you should use the appropriate overload for this method.
(Inherited from GH_PersistentParamT.) | |
SetPersistentData(Object) |
Add a collection of values to the persistent data.
(Inherited from GH_PersistentParamT.) | |
SetPrincipal |
Set the principal parameter state.
(Inherited from GH_ParamT.) | |
TriggerAutoSave |
Triggers the AutoSave function on the owner document with the object_changed flag.
(Inherited from GH_DocumentObject.) | |
TriggerAutoSave(GH_AutoSaveTrigger) |
Triggers the AutoSave function on the owner document with a custom flag.
(Inherited from GH_DocumentObject.) | |
TriggerAutoSave(Guid) |
Triggers the AutoSave function on the owner document with the object_changed flag.
(Inherited from GH_DocumentObject.) | |
TriggerAutoSave(GH_AutoSaveTrigger, Guid) |
Triggers the AutoSave function on the owner document with a custom flag.
(Inherited from GH_DocumentObject.) | |
Write | (Inherited from GH_PersistentParamT.) | |
WriteFull |
GH_InstanceDescription does not by default serialize all fields.
Use this function to write all fields to the archive.
This method is compatible with the default Write()/Read() operations.
(Inherited from GH_InstanceDescription.) |