ObjectTable.AddPointCloud Method (IEnumerable(Point3d), ObjectAttributes, HistoryRecord, Boolean)

ObjectTableAddPointCloud Method (IEnumerablePoint3d, ObjectAttributes, HistoryRecord, Boolean)

Adds a point cloud object to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddPointCloud(
	IEnumerable<Point3d> points,
	ObjectAttributes attributes,
	HistoryRecord history,
	bool reference
)
Public Function AddPointCloud ( 
	points As IEnumerable(Of Point3d),
	attributes As ObjectAttributes,
	history As HistoryRecord,
	reference As Boolean
) As Guid

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
A list, an array or any enumerable set of points
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to point cloud. null is acceptable
history
Type: Rhino.DocObjectsHistoryRecord
history associated with this pointcloud. 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