sb.deleteObject

sb.deleteObject(objectName)

Delete an object that has been cloned using sb.cloneObject from the model. The object must be a control, a table, or a group.

Parameters:
    objectName     The fully qualified name of the object to delete
Example:

function deleteObject(context) {    
    sb.deleteObject("my_layer.my_object");
}
Was this article helpful?
0 out of 0 found this helpful