CAMTemplateLibrary.doesPathExist Method

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

Description

Checks if the given URL points to an existing folder or asset in the library.

Syntax

"cAMTemplateLibrary_var" is a variable referencing a CAMTemplateLibrary object.
returnValue = cAMTemplateLibrary_var.doesPathExist(url)
"cAMTemplateLibrary_var" is a variable referencing a CAMTemplateLibrary object.

#include <Cam/CAMTemplate/CAMTemplateLibrary.h>

returnValue = cAMTemplateLibrary_var->doesPathExist(url);

Return Value

Type Description
boolean Returns true if the URL points to an existing folder or asset, false otherwise.

Parameters

Name Type Description
url URL The URL to be checked.

Version

Introduced in version September 2025