Share

Deleting a Referenced Object

You can delete a referenced object along with all the referenced items within the referenced object. However, this action cannot be reverted.

To delete a referenced object, perform the following steps:

  1. Unload the referenced object.
  2. Perform one of the following: - Call the NamespaceDelete function.
    lFileReference = FBFindObjectByFullName( "FileReference::NS" )
    lFileReference.IsLoaded = False
    FBSystem().Scene.NamespaceDelete( "NS" )
-    Call the `FBDelete` function.
    
    ```
    lFileReference = FBFindObjectByFullName( "FileReference::NS" )
    lFileReference.IsLoaded = False
    lFileReference.FBDelete()
    
    ```

Was this information helpful?