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

BooleanSelectionRule.add_selection_rule(...)

Add a LinkedSelectionRule to the BooleanSelectionRule.

BooleanSelectionRule.clone(*[, unlink])

Create a new unstored object with the same properties.

BooleanSelectionRule.delete()

Delete the object.

BooleanSelectionRule.store(parent)

Store the object on the server.

Attributes

BooleanSelectionRule.elemental_data

BooleanSelectionRule.id

Identifier of the object, used for example as key in maps.

BooleanSelectionRule.include_rule

BooleanSelectionRule.mesh

Full mesh associated with the object.

BooleanSelectionRule.name

The name of the object.

BooleanSelectionRule.nodal_data

BooleanSelectionRule.parent

The parent of the object.

BooleanSelectionRule.selection_rules

BooleanSelectionRule.shell_mesh

Shell mesh associated with the object.

BooleanSelectionRule.status

Examples using BooleanSelectionRule#

Advanced selection rules example

Advanced selection rules example