ObjectTable.Purge Method (UInt32)

ObjectTablePurge Method (UInt32)

Removes object from document and deletes the pointer. Typically you will want to call Delete instead in order to keep the object on the undo list.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Purge(
	uint runtimeSerialNumber
)
Public Function Purge ( 
	runtimeSerialNumber As UInteger
) As Boolean

Parameters

runtimeSerialNumber
Type: SystemUInt32
A runtime serial number of the object that will be deleted.

Return Value

Type: Boolean
true if the object was purged; otherwise false.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also