Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerRuleExecute


Description
Execute the layer rules on the CurrentModel if rules are enabled.
Synopsis
#include <ProLayer.h>
ProErrorProLayerRuleExecute(
ProMdl CurrentModel
/* (In)
The model upon which the layer rules will be executed.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully excuted the rules.
PRO_TK_BAD_INPUTSCurrentModel is NULL.
PRO_TK_INVALID_PTRCurrentModel is not a handle to a model.
PRO_TK_GENERAL_ERRORExecution of all the rules failed.

Manual References:

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