RhinoCommon API
ObjectTableAddPoint Method (Point, ObjectAttributes, HistoryRecord, Boolean) |
Adds a point object and its geometry-linked information to the document
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public Guid AddPoint( Point point, ObjectAttributes attributes, HistoryRecord history, bool reference )
Public Function AddPoint ( point As Point, attributes As ObjectAttributes, history As HistoryRecord, reference As Boolean ) As Guid
Parameters
- point
- Type: Rhino.GeometryPoint
A point geometry class. - attributes
- Type: Rhino.DocObjectsObjectAttributes
attributes to apply to point. null is acceptable - history
- Type: Rhino.DocObjectsHistoryRecord
history associated with this point. null is acceptable - reference
- Type: SystemBoolean
true if the object is from a reference file. Reference objects do not persist in archives
Return Value
Type: GuidA unique identifier for the object.

Exception | Condition |
---|---|
ArgumentNullException | If point is null. |
