Click or drag to resize

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
Syntax
public Guid AddPoint(
	Point point,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

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: Guid
A unique identifier for the object.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf point is null.
See Also