StockMaterialLibrary.childStockMaterials Method

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

Description

Get all stockMaterials by the given parent folder URL. Returns null, if the URL does not exist.

Syntax

"stockMaterialLibrary_var" is a variable referencing a StockMaterialLibrary object.

returnValue = stockMaterialLibrary_var.childStockMaterials(url)
"stockMaterialLibrary_var" is a variable referencing a StockMaterialLibrary object.

#include <Cam/StockMaterials/StockMaterialLibrary.h>

returnValue = stockMaterialLibrary_var->childStockMaterials(url);
"stockMaterialLibrary_var" is a variable referencing a StockMaterialLibrary object.

returnValue = stockMaterialLibrary_var.childStockMaterials(url);

Return Value

Type Description
StockMaterial[] Returns the stockMaterials for a valid URL, returns null otherwise.

Parameters

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

Version

Introduced in version September 2024