MachineLibrary.deleteAsset Method
Parent Object:
MachineLibraryDefined in namespace "adsk::cam" and the header file is <Cam/Machine/MachineLibrary.h>
Description
Delete asset by URL from the library. Throw an error if given URL does not point to a valid asset or the URL is read-only.
Syntax
"machineLibrary_var" is a variable referencing a MachineLibrary object.returnValue = machineLibrary_var.deleteAsset(url)
|
"machineLibrary_var" is a variable referencing a MachineLibrary object.
#include <Cam/Machine/MachineLibrary.h>
returnValue = machineLibrary_var->deleteAsset(url);
|
Return Value
boolean |
Returns true if asset was deleted successfully, false otherwise |
Parameters
url |
URL |
The URL to the asset that should be removed. |
Version
Introduced in version April 2023