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
>
ProError
ProLayerDelete
(
ProLayer
*
layer
/* (In)
The name of the layer to delete
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully deleted the layer.
PRO_TK_INVALID_NAME
You specified an invalid layer name.
PRO_TK_E_NOT_FOUND
The system could not find a layer with the specified name.
PRO_TK_GENERAL_ERROR
A general error occurred and the function failed.
Manual References:
Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
Core: Models and Model Items: Layers
Core: Models and Model Items: Layers
Sample Code References:
pt_examples ( TestLayer.c )