CAMLibrary.doesPathExist Method

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

Description

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

Syntax

"cAMLibrary_var" is a variable referencing a CAMLibrary object.
returnValue = cAMLibrary_var.doesPathExist(url)
"cAMLibrary_var" is a variable referencing a CAMLibrary object.

#include <Cam/Global/CAMLibrary.h>

returnValue = cAMLibrary_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