CAMTemplateLibrary.childTemplates Method

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

Description

Get all templates by the given parent folder URL. Returns null if there is no folder at the URL.

Syntax

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

#include <Cam/CAMTemplate/CAMTemplateLibrary.h>

returnValue = cAMTemplateLibrary_var->childTemplates(url);

Return Value

Type Description
CAMTemplate[] Returns an array of templates contained within the specified folder URL. Returns null if the URL is not valid.

Parameters

Name Type Description
url URL The URL of the folder to get the templates from.

Version

Introduced in version April 2023