CAMTemplateLibrary.templateAtURL Method

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

Description

Gets a specific template specified by the given URL. Returns null if the specified template does not exist.

Syntax

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

#include <Cam/CAMTemplate/CAMTemplateLibrary.h>

returnValue = cAMTemplateLibrary_var->templateAtURL(url);

Return Value

Type Description
CAMTemplate Returns the template for a valid URL, returns null otherwise.

Parameters

Name Type Description
url URL The URL to the template to be fetched.

Version

Introduced in version April 2023