Skip to main content

ACP in-app scripting API 2026 R1

add_selection_rule

Last update: 16.07.2026

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).

Connect with Ansys