How to remove a category
kabexef
Posts: 97
I can create a new category with
var nId = App.getAssetMgr().findCategoryID("New Cat", false, true);
But how to remove it?
kabexef
Posts: 97
I can create a new category with
var nId = App.getAssetMgr().findCategoryID("New Cat", false, true);
But how to remove it?
Comments
The only remove methods AssetMgr has are
(undocumented)
One of the undocumented BasePath methods might be what you are looking for (I would guess ByRowID if one is), but I think a more likely candidate is passing the appropriate DzCategoryAssetContainer to DzAbstractAssetContainer::removeChildContainer.
Thanks a lot, removeChildContainer works.