Click or drag to resize

ObjectTableAddPoint Method (Point3d, ObjectAttributes, HistoryRecord, Boolean)

Adds a point object to the document

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddPoint(
	Point3d point,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)

Parameters

point
Type: Rhino.GeometryPoint3d
location of point
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also