Grasshopper2.Docnamespace

Types

Grasshopper2.Doc.IAttributes
Provides the methods required for the UI interaction with document objects. Attributes are typically *not* deserialized, so all persistent properties ought to be part of the owner document object.
Grasshopper2.Doc.ICursorAwareAttributes
Implement this interface in your IDocumentObject IAttributes class if you wish to modify the cursor.
Grasshopper2.Doc.IDocumentObject
Defines the rules and regulations for any object that wishes to be part of an IDocument.
Grasshopper2.Doc.IDocumentParent
Implement this interface in your IDocumentObject type in order to host another document inside it. For example Chain and Cluster objects are document parents.
Grasshopper2.Doc.IGuidAware
Implement this interface in your IDocumentObject if you wish to be notified about object instance id changes.
Grasshopper2.Doc.IInitCodeAware
Objects which can be initialised with user specified arguments may implement this interface.
Grasshopper2.Doc.ILockableObject
Implement this interface in your IDocumentObject class if you wish to provide UI for locking certain properties of the object.
Grasshopper2.Doc.IMouseDwellAttributes
Implement this interface in your Attributes class to inform the canvas that any mousemoves (even ones not coincident with the attributes) may invalidate the attributes. This is typically used for mouse-hover feedback.
Grasshopper2.Doc.IObjectConnectivity
Interface for read-only access to object connectivity data.
Grasshopper2.Doc.IParameterAttributes
Parameter attributes. This interface extends IAttributes by providing Inlet and Outlet points.
Grasshopper2.Doc.IReferenceAware
Any IDocumentObject which wishes to be informed when Rhino objects change must implement this interface.
Grasshopper2.Doc.IRemovalAware
Implements this interface in your IDocumentObject to be notified when your object is about to be deleted by the user.
Grasshopper2.Doc.ISolutionPriority
Implement this interface on your active object if you wish it to be put at the front of the solve-order list.
Grasshopper2.Doc.IStateAwareObject
Implement this interface in your IDocumentObject class if you wish to be included in state UI.
Grasshopper2.Doc.ActiveObject
Abstract implementation of the IDocumentObject interface for objects that wish to participate in solutions.
Grasshopper2.Doc.AfterAddObjectEventArgs
Event arguments used for Object Added event.
Grasshopper2.Doc.AfterRemoveObjectEventArgs
Event arguments used for Object Added event.
Grasshopper2.Doc.Attributes<T>
Base abstract implementation of IAttributes.
Grasshopper2.Doc.AutoSaveReason
Enumerates common reasons for autosaving.
Grasshopper2.Doc.AutoSaveResult
Enumerates the possible outcomes of an autosave request.
Grasshopper2.Doc.BackupMethod
Enumerates the ways in which documents can be written to the disk during a save operation.
Grasshopper2.Doc.BeforeAddObjectEventArgs
Event arguments used for Object Added event.
Grasshopper2.Doc.BeforeRemoveObjectEventArgs
Event arguments used for Object Removed event.
Grasshopper2.Doc.CallStack
Represents the stack of objects that form the invocation sequence to a specific IDocumentObject. This is typically used to figure out whether an invocation sequence is in fact a loop (i.e. cyclical), but it may be useful for other purposes too.
Grasshopper2.Doc.ClipboardKind
Enumerates the possible clipboards Grasshopper uses.
Grasshopper2.Doc.CommonMessages
Exposes common standard message texts, infos and actions.
Grasshopper2.Doc.ComputeTaskKind
Enumerates the possible kind of tasks that the IDocumentObject.Compute() method can emit.
Grasshopper2.Doc.ConnectiveGroup
Represents a single group in a document Connectivity. Note that groups with attached pins can have inputs and outputs, which is why groups derive from objects.
Grasshopper2.Doc.ConnectiveObject
Represents a single top-level object in a document Connectivity. Any attached pins are considered to be part of the object itself and its inputs and outputs are included in the ConnectiveObject.In and ConnectiveObject.Out properties.
Grasshopper2.Doc.Connectivity
A readonly snapshot of the object connectivity within a document.
Grasshopper2.Doc.ContentFilter
Enumerates the possible types of document content.
Grasshopper2.Doc.CyclicalDependencyException
Thrown when a loop in the dependency graph is found.
Grasshopper2.Doc.CyclicalGraphException
Exception thrown whenever a cyclical graph is detected. This exception is thrown automatically when an object which is already part of a CallStack is pushed onto the same stack again: RH-68232
Grasshopper2.Doc.DataDifference
A difference in persistent data of the same object between two documents.
Grasshopper2.Doc.DependencyData
Represents the data in a resolved dependency.
Grasshopper2.Doc.DependencyGraph
A graph representing the loaded portion of document dependencies.
Grasshopper2.Doc.DependencyGraph.Node
A node in a dependency graph.
Grasshopper2.Doc.DependencyGraph.NodeFileType
Grasshopper2.Doc.DependencyNotFoundException
Thrown when a file does not contain the specified named data.
Grasshopper2.Doc.Difference
Abstract base class for individual differences.
Grasshopper2.Doc.Differences
A collection of differences between two documents.
Grasshopper2.Doc.DiffType
Lists the various kinds of differences that can exist between two files.
Grasshopper2.Doc.Document
The Grasshopper document class. Documents contain all objects, undo record, solution and display logic.
Grasshopper2.Doc.DocumentDependencies
A class for maintaining and harvesting data from document dependencies. For example when this document imports data from another document.
Grasshopper2.Doc.DocumentDisplay
Grasshopper2.Doc.DocumentEventArgs<T>
Generic class for document events.
Grasshopper2.Doc.DocumentIO
Utility methods for saving and opening documents.
Grasshopper2.Doc.DocumentIO.ObjectNodeMatcher
Class for matching object nodes in a *.ghz archive. Objects may be stored in a different order in two files while being fundamentally the same object. This is particularly common when a Group is added, as groups are stored at the start of the object list, thus bumping all other objects up to a higher index. When comparing two files for differences, it is recommended to provide an instance of this NodeMatcher to the diff method.
Grasshopper2.Doc.DocumentMethods
This class exposes common operations that are performed on documents. Always consider using a method in this class instead of a more low-level one.
Grasshopper2.Doc.DocumentModifiedEventArgs
Event arguments used in document state change events.
Grasshopper2.Doc.DocumentObject
Abstract implementation of the IDocumentObject interface for all objects.
Grasshopper2.Doc.DocumentState
Enumerates the possible states in which a document can exist.
Grasshopper2.Doc.DocumentStateEventArgs
Event arguments used in document state change events.
Grasshopper2.Doc.Examiner
A utility class for examining files written by the GrasshopperIO assembly.
Grasshopper2.Doc.FileContents
Enumerates the possible contents of a GHZ file.
Grasshopper2.Doc.FileUtility
This class maintains all information and functionality regarding document files.
Grasshopper2.Doc.FleetingCustomData
A threadsafe dictionary with strongly typed access for values which are never serialised.
Grasshopper2.Doc.GlobalAdditionResult
Enumerates the possible outcomes of adding a global object to a document.
Grasshopper2.Doc.GlobalServer
Maintains a collection of global data sources within a document.
Grasshopper2.Doc.GraphTopology
Enumerates the possible topologies of partial networks.
Grasshopper2.Doc.ImportantPropertyAttribute
Defines attributes to be assigned to properties on IDocumentObject classes.
Grasshopper2.Doc.KeyedValues
A class for maintaining a mutable and overwritable set of named values to be used inside document objects.
Grasshopper2.Doc.KeyValueEventArgs
Arguments used in the events raised by the KeyedValues class.
Grasshopper2.Doc.LayoutDifference
A difference of layout (position or size or both) between two objects with identical IDs.
Grasshopper2.Doc.Message
A message associated with an IDocumentObject, typically generated during solutions.
Grasshopper2.Doc.MessageAction
A class wrapping around a MessageDelegate.
Grasshopper2.Doc.MessageDelegate
A delegate for errors and warnings to invoke when they are clicked. Provide naming overrides and detailed information by attached the UiNameAttribute and UiInfoAttribute attributes to your method.
Grasshopper2.Doc.MessageException
Exception used in solution failures. Contains both a short form and long form message.
Grasshopper2.Doc.MessageLevel
Enumerates the severity of possible message levels.
Grasshopper2.Doc.Messages
A collection of zero or more Message instances.
Grasshopper2.Doc.ModifierDifference
A difference of modifiers between two parameters with identical IDs.
Grasshopper2.Doc.NamedView
A single named view into a document.
Grasshopper2.Doc.NamedViews
A collection of named views.
Grasshopper2.Doc.ObjectActivity
Enumerates the defined object status (on/off/standby/etc.). In the future more values may be added to this enum to reflect more subtle states.
Grasshopper2.Doc.ObjectAutoSaveEventArgs
Event arguments for IDocumentObject autosave events.
Grasshopper2.Doc.ObjectConnectivity
Implementation of IObjectConnectivity.
Grasshopper2.Doc.ObjectDifference
A difference of existence of an object between two documents.
Grasshopper2.Doc.ObjectDisplay
Enumerates the defined object display states. In the future more values may be added to this enum to reflect more subtle display states.
Grasshopper2.Doc.ObjectDisplayStyle
Enumerates the possible display styles of this object.
Grasshopper2.Doc.ObjectDocumentEventArgs
Event arguments for IDocumentObject generic events.
Grasshopper2.Doc.ObjectEventArgs
Event arguments for IDocumentObject events.
Grasshopper2.Doc.ObjectGuidEventArgs
Event arguments for IDocumentObject name events.
Grasshopper2.Doc.ObjectLevel
Enumerates the possible levels at which objects can occur.
Grasshopper2.Doc.ObjectList
Represents the collection of all objects in a document.
Grasshopper2.Doc.ObjectNameEventArgs
Event arguments for IDocumentObject name events.
Grasshopper2.Doc.ObjectPhaseEventArgs
Event arguments for IDocumentObject phase events.
Grasshopper2.Doc.ObjectRelevance
Enumerates the defined object relevance states. In the future more values may be added to this enum to reflect more subtle relevance states.
Grasshopper2.Doc.ObjectSelection
Enumerates the defined object selection states. In the future more values may be added to this enum to reflect more subtle selection states.
Grasshopper2.Doc.ObjectSolutionState
An immutable, thread-safe class aggregating all fields relevant to object solutions.
Grasshopper2.Doc.OCD
Static utility methods for document layouts.
Grasshopper2.Doc.OCD.Fixed
Grasshopper2.Doc.ParameterAttributes<T>
Grasshopper2.Doc.PasteBehaviour
Enumerates the possible behaviours of the paste command.
Grasshopper2.Doc.Phase
Enumerates the possible solution phases an object can attain.
Grasshopper2.Doc.Pick
Enumerates the possible kinds of pick.
Grasshopper2.Doc.ProfilerCategory
Enumerates the different operations that are profiled.
Grasshopper2.Doc.RecentFiles
Provides access to the list of recently opened files.
Grasshopper2.Doc.RecentFiles.File
Grasshopper2.Doc.RecentFiles.State
Grasshopper2.Doc.Recipients
This class provides methods for maintaining a collection of recipient objects.
Grasshopper2.Doc.ResolveGlobalEventArgs
Event arguments used with the GlobalServer.ResolveExternal event. Handle this even if you think you can provide a resolution to a global request which could not be handled intra-document.
Grasshopper2.Doc.SelectionResult
List of all (de)selected objects and wires during a picking or selection operation.
Grasshopper2.Doc.ServerState
Grasshopper2.Doc.SessionEntry
Records the state of a single open document at the time a session snapshot was written. One SessionEntry is created per open document and stored within a SessionRecord.
Grasshopper2.Doc.SessionEntryKind
Categorises the kind of document a SessionEntry describes.
Grasshopper2.Doc.SessionFile
Static helpers for capturing, persisting and restoring a SessionRecord on disk. The on-disk record lives in Folders.LocalAppDataFolder and is written at shutdown; the next startup reads it and reinstates the documents that were open when the previous session ended.
Grasshopper2.Doc.SessionRecord
A snapshot of all documents open in the editor at the moment a session ends. Designed to be written at shutdown (clean or otherwise) and read at startup to reinstate the editor in the state the user left it in.
Grasshopper2.Doc.Solution
Maintains a set of methods and properties which are used by IDocumentObjects while computing new solution data.
Grasshopper2.Doc.SolutionCulmination
Enumerates the possible ways in which solutions can terminate.
Grasshopper2.Doc.SolutionData
Storage class for object solution results.
Grasshopper2.Doc.SolutionEventArgs
Arguments used in document solution events.
Grasshopper2.Doc.SolutionExceptionEventArgs
Arguments used in document solution exception events.
Grasshopper2.Doc.SolutionId
Provides an app-wide secure way to generate solution runtime ids.
Grasshopper2.Doc.SolutionIdEventArgs
Arguments used in the document tally event.
Grasshopper2.Doc.SolutionMode
Enumerates the various modes a solution can run in.
Grasshopper2.Doc.SolutionPhase
Enumerates the possible solution states in which a document can occur.
Grasshopper2.Doc.SolutionRecord
Maintains very basic information about finished solutions.
Grasshopper2.Doc.SolutionServer
This class provides all methods and properties concerning past document solutions and how to start new ones.
Grasshopper2.Doc.StandardKeys
Exposes a set of standard keys used in various KeyedValues instances throughout Grasshopper.
Grasshopper2.Doc.WhichDoc
Enumerates the possible document pointers.
Grasshopper2.Doc.WireData
Represents the instance ids of the parameters at either end of a wire, as well as the indices within the respective input and output arrays.
Grasshopper2.Doc.WireDifference
A difference of connecting wires between two documents.
Grasshopper2.Doc.WireEnds
Represents the instance ids of the parameters at either end of a wire.