GeometricalSelectionRule#

class ansys.acp.core.GeometricalSelectionRule(*, name='GeometricalSelectionrule', geometrical_rule_type=GeometricalRuleType.GEOMETRY, geometry=None, element_sets=(), include_rule_type=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, default: 'GeometricalSelectionrule') – Name of the Geometrical Selection Rule.

  • geometrical_rule_type (GeometricalRuleType, default: <GeometricalRuleType.GEOMETRY: 'geometry'>) – Rule type. Can be either GeometricalRuleType.GEOMETRY or GeometricalRuleType.ELEMENT_SETS.

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

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

  • include_rule_type (bool, default: True) – Include or exclude area in rule. Setting this to False inverts the selection.

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

  • in_plane_capture_tolerance (float, default: 0.0) – In-plane capture tolerance around the outline.

  • negative_capture_tolerance (float, default: 0.0) – Capture tolerance along the surface or projection normal.

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

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

GeometricalSelectionRule.element_sets

GeometricalSelectionRule.elemental_data

GeometricalSelectionRule.geometrical_rule_type

GeometricalSelectionRule.geometry

GeometricalSelectionRule.id

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

GeometricalSelectionRule.in_plane_capture_tolerance

GeometricalSelectionRule.include_rule_type

GeometricalSelectionRule.name

The name of the object.

GeometricalSelectionRule.negative_capture_tolerance

GeometricalSelectionRule.nodal_data

GeometricalSelectionRule.positive_capture_tolerance

GeometricalSelectionRule.status

GeometricalSelectionRule.use_default_tolerances