Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlLayersCollect


Description
Collects an array containing the layers in this model.
Replacement in Object TOOLKIT: wfcWModel::ListLayers
Synopsis
#include <ProLayer.h>
ProErrorProMdlLayersCollect(
ProMdl mdl
/* (In)
The model.
*/
ProLayer** p_layers_array
/* (Out)
ProArray of collected layers. Free this using ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDNo layers were found and collected.

Manual References:

  1. Core: Models and Model Items: Layers
  2. Core: Models and Model Items: Layers

Sample Code References:

  1. pt_examples ( UtilCollect.c )