Function ProLayerRuleCopy
Description
Copy the rules of a layer LayerName in ReferenceModel into a layer LayerName in CurrentModel, overwriting any rules
Note: This function copies both the rules definitions and the rules options set interactively (including option "Associative")
Replacement in Object TOOLKIT:
Synopsis
#include <ProLayer.h>
ProLayerRuleCopy
(
ProMdl CurrentModel
/* (In)
The model into which the layer rule will be copied.
*/
ProName LayerName
/* (In)
The name of an existing layer in both models.
*/
ProMdl ReferenceModel
/* (In)
The model from which the layer rules will be copied.
*/
)
Returns
The function successfully copied the rules.
Model is in read-only state.
CurrentModel or ReferenceModel is NULL.
CurrentModel or ReferenceModel is not a handle to a model.
Layer LayerName does not exist in one or both models.
User Guide References
これは役に立ちましたか?