ObjectTableReplace Method (ObjRef, GeometryBase, Boolean) |
Replaces the geometry in one object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.9
Syntax public bool Replace(
ObjRef objref,
GeometryBase geometry,
bool ignoreModes
)
Public Function Replace (
objref As ObjRef,
geometry As GeometryBase,
ignoreModes As Boolean
) As Boolean
Parameters
- objref
- Type: Rhino.DocObjectsObjRef
reference to old object to be replaced. The objref.Object() will be deleted. - geometry
- Type: Rhino.GeometryGeometryBase
[Missing <param name="geometry"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.Replace(Rhino.DocObjects.ObjRef,Rhino.Geometry.GeometryBase,System.Boolean)"]
- ignoreModes
- Type: SystemBoolean
[Missing <param name="ignoreModes"/> documentation for "M:Rhino.DocObjects.Tables.ObjectTable.Replace(Rhino.DocObjects.ObjRef,Rhino.Geometry.GeometryBase,System.Boolean)"]
Return Value
Type:
Booleantrue if successful.
See Also