GeometricalSelectionRule#

class ansys.acp.core.GeometricalSelectionRule(*, name='GeometricalSelectionrule', geometrical_rule_type='geometry', geometry=None, element_sets=(), include_rule=True, use_default_tolerances=True, in_plane_capture_tolerance=0.0, negative_capture_tolerance=0.0, positive_capture_tolerance=0.0)#

Instantiate a Geometrical Selection Rule.

Parameters:
  • name (str) – Name of the Geometrical Selection Rule.

  • geometrical_rule_type (GeometricalRuleType) – Rule type. Can be either GeometricalRuleType.GEOMETRY or GeometricalRuleType.ELEMENT_SETS.

  • geometry (VirtualGeometry | None) – Virtual geometry to use for the rule.

  • element_sets (Iterable[ElementSet]) – Element sets to use for the rule.

  • include_rule (bool) – Include or exclude area in rule. Setting this to False inverts the selection.

  • use_default_tolerances (bool) – Whether to use default tolerances.

  • in_plane_capture_tolerance (float) – In-plane capture tolerance around the outline.

  • negative_capture_tolerance (float) – Capture tolerance along the surface or projection normal.

  • positive_capture_tolerance (float) – Capture tolerance along the opposite surface or projection normal.

Added in ACP server version 24.2.

Methods

GeometricalSelectionRule.clone(*[, unlink])

Create a new unstored object with the same properties.

GeometricalSelectionRule.delete()

Delete the object.

GeometricalSelectionRule.store(parent)

Store the object on the server.

Attributes

Examples using GeometricalSelectionRule#

Advanced selection rules

Advanced selection rules