Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerDelete


Description
Deletes the specified layer from the object.
Replacement in Object TOOLKIT: pfcLayer::Delete
Synopsis
#include <ProLayer.h>
ProErrorProLayerDelete(
ProLayer* layer
/* (In)
The name of the layer to delete
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully deleted the layer.
PRO_TK_INVALID_NAMEYou specified an invalid layer name.
PRO_TK_E_NOT_FOUNDThe system could not find a layer with the specified name.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

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

Sample Code References:

  1. pt_examples ( TestLayer.c )