BooleanSelectionRule#
- class ansys.acp.core.BooleanSelectionRule(*, name='BooleanSelectionrule', selection_rules=(), include_rule=True)#
Instantiate a Boolean Selection Rule.
- Parameters:
name (str) – Name of the Boolean Selection Rule.
selection_rules (Iterable[LinkedSelectionRule])
include_rule (bool) – Include or exclude area in rule. Setting this to
False
inverts the selection.
Added in ACP server version 24.2.
Methods
Add a LinkedSelectionRule to the BooleanSelectionRule.
BooleanSelectionRule.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
BooleanSelectionRule.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
Full mesh associated with the object.
The name of the object.
The parent of the object.
Shell mesh associated with the object.
Examples using BooleanSelectionRule#
Advanced selection rules example
Advanced selection rules example