    

 ## On this page

  

 

 # add\_selection\_rule

 Last update: 16.07.2026 

<a id="compolyx.ModelingPly.add_selection_rule"></a>

## ModelingPly.add\_selection\_rule(rule, template\_rule=False, rule\_values=(), operation\_type='intersect')

Add rule to modeling ply.

### Parameters

- rule: The rule to be added to the modeling ply.
- template\_rule: Boolean.
- rule\_values: Parameters of the template rule.
- operation\_type: Boolean operation type (intersect, add, remove).