Click or drag to resize
ObjectTableReplace Method (ObjRef, PointCloud)
Replaces one object with new pointcloud object.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Replace(
	ObjRef objref,
	PointCloud pointcloud
)

Parameters

objref
Type: Rhino.DocObjectsObjRef
reference to old object to be replaced. The objref.Object() will be deleted.
pointcloud
Type: Rhino.GeometryPointCloud
new pointcloud to be added A duplicate of the pointcloud is added to the Rhino model.

Return Value

Type: Boolean
true if successful.
See Also