DeleteObject

Description

Deletes the object at the given ID, if the object doesn't exist then this command does nothing. Note that if the object was loaded with LoadObjectWithChildren then any child objects that were created during that loading process will not be deleted by this command. You can use GetObjectChildID to get and delete those objects manually, or use DeleteObjectWithChildren to delete everything that was created when this object was loaded.

Definition

DeleteObject( objID )

Parameters