Community Tip - Need help navigating or using the PTC Community? Contact the community team.
add function to retrieve the Layer Rule data, possible api could be:
struct pro_layer_rule * ProLayerRule;
ProError ProLayerRuleGet( ProLayer *layer, ProLayerRule *p_rule); //get ProLayerRule object from ProLayer
ProError ProLayerRuleSet( ProLayerRule rule, ProLayer *p_layer); // set ProLayer with ProLayerRule
ProError ProLayerRuleDelete( ProLayer *p_layer); //remove rule from layer
ProError ProLayerRuleIsEnabled( ProLayer *layer, ProBoolean *p_enabled); // get ProLayer rule enabled/disabled status
ProError ProLayerRuleEnabledStatusSet( ProLayer * layer, ProBoolean enabled); //set status
ProError ProLayerRuleIsAssociative( ProLayerRule rule, ProBoolean * p_is_associative); // get associative status
ProError ProLayerRuleAssociativeStatusSet( ProLayer *layer, ProBoolean associative); //set associative status
ProError ProLayerRuleIsFromExternalModel( ProLayerRule rule, ProBoolean * p_from_external); // get 'independent' status
ProError ProLayerRuleProRuleGet( ProLayerRule layer_rule, ProRule *p_rule); //get ProRule data from ProLayerRule object
ProError ProLayerRuleProRuleSet( ProRule rule, ProLayerRule * p_layer_rule); //set ProRule data for ProLayerRule object
Creo 3.0 ProLayerRuleCopy(...) takes care of the situation when LayerRule has to be set from external model but the API is somewhat incomplete...
We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.
You can always post a new idea with all the details required in the form.
Thank you for your participation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.