Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerItemsGet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProLayerItemsPopulate
Description
This function is deprecated.Use ProLayerItemsPopulate() instead. Retrieves the items on the specified layer.
Synopsis
#include <ProLayer.h>
ProErrorProLayerItemsGet(
ProLayer* layer
/* (In)
The name of the layer.
*/
ProLayerItem** p_layeritem
/* (Out)
An array that contains the types and identifiers of the items on the layer. The function allocates the memory for this argument. Use ProArrayFree() to free the allocated memory.
*/
int* p_count
/* (Out)
The number of items on the specified layer.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDA layer with the specified name was not found.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_OUT_OF_MEMORYThe layer has too many items to report. p_layer_item and p_count are filled with the maximum number of items.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Models and Model Items: Layers
  3. Core: Models and Model Items: Layers