ObjectTableReplace Method (ObjRef, PointCloud) |
Replaces one object with new pointcloud object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool Replace(
ObjRef objref,
PointCloud pointcloud
)
Public Function Replace (
objref As ObjRef,
pointcloud As PointCloud
) As Boolean
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:
Booleantrue if successful.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also