API 文件集 > Creo Parametric fundamentals > Object ProLayer > Function ProLayerRuleExecute
Function ProLayerRuleExecute
Description
Execute the layer rules on the CurrentModel if rules are enabled.
Replacement in Object TOOLKIT:
Synopsis
#include <ProLayer.h>
ProLayerRuleExecute
(
ProMdl CurrentModel
/* (In)
The model upon which the layer rules will be executed.
*/
)
Returns
The function successfully excuted the rules.
Model is in read-only state.
CurrentModel is NULL.
CurrentModel is not a handle to a model.
Execution of all the rules failed.
這是否有幫助?