--Nested Layer Manager Beta 1. Remove ALL data from scene. result = queryBox "This will remove ALL nested data from the scene. Are you sure you would like to continue?" \ title:"Nested Layer Manager" if result do ( --Remove custom attributes for a=rootNode.custAttributes.count to 1 by-1 do ( if rootNode.custAttributes[a].name == "nestedLayerManager" do ( deleteItem rootNode.custAttributes a format "Custom Attributes Removed\n" ) ) --Remove callback callbacks.removeScripts id:#nestedLayerManagerPersistent format "Callbacks Removed\n" --Result messageBox "All data has been removed"\ title:"Nested Layer Manager" )