PrintSettingLibrary.deleteFolder Method

Parent Object: PrintSettingLibrary
Defined in namespace "adsk::cam" and the header file is <Cam/PrintSetting/PrintSettingLibrary.h>

Description

Delete folder by URL from the library. Any content of the folder will also be deleted. Throw an error if given URL does not point to a valid folder or the URL is read-only.

Syntax

"printSettingLibrary_var" is a variable referencing a PrintSettingLibrary object.
returnValue = printSettingLibrary_var.deleteFolder(url)
"printSettingLibrary_var" is a variable referencing a PrintSettingLibrary object.

#include <Cam/PrintSetting/PrintSettingLibrary.h>

returnValue = printSettingLibrary_var->deleteFolder(url);

Return Value

Type Description
boolean Returns true if folder was deleted successfully, false otherwise

Parameters

Name Type Description
url URL The URL to the folder that should be removed.

Version

Introduced in version April 2023