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)
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 acceptible
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.
Version Information

Rhino for Windows

Supported in: 6.0 BETA
See Also