Category Creo Parametric fundamentals, Object ProLayer

Function ProLayerRuleMatch


Description
Compare the rules of a layer LayerName in ReferenceModel to the rules in layer LayerName in CurrentModel.
Synopsis
#include <ProLayer.h>
ProErrorProLayerRuleMatch(
ProMdl CurrentModel
/* (In)
The current model for comparison.
*/
ProName LayerName
/* (In)
The name of an existing layer in both models.
*/
ProMdl ReferenceModel
/* (In)
The reference model for comparison.
*/
ProBoolean* p_match
/* (Out)
The result of the comparison. PRO_B_TRUE if a match, otherwise PRO_B_FALSE. Must not be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully compared the rules.
PRO_TK_BAD_INPUTSCurrentModel, ReferenceModel or p_match is NULL.
PRO_TK_INVALID_PTRCurrentModel or ReferenceModel is not a handle to a model.
PRO_TK_NOT_EXISTLayer LayerName does not exist in one or both models.

Manual References:

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