Click or drag to resize

ObjectTableReplace Method (ObjRef, SubD)

Replaces one object with a new SubD object.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public bool Replace(
	ObjRef objref,
	SubD subD
)

Parameters

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

Return Value

Type: Boolean
true if successful.
See Also