ObjectTableReplace Method (ObjRef, Mesh) |
Rhino for Mac 5.1
Replaces one object with new mesh object.
Namespace: Rhino.DocObjects.TablesAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntaxpublic bool Replace(
ObjRef objref,
Mesh mesh
)
Public Function Replace (
objref As ObjRef,
mesh As Mesh
) As Boolean
Parameters
- objref
- Type: Rhino.DocObjectsObjRef
reference to old object to be replaced. The objref.Object() will be deleted. - mesh
- Type: Rhino.GeometryMesh
new mesh to be added
A duplicate of the mesh is added to the Rhino model.
Return Value
Type:
Booleantrue if successful.
See Also