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
orGeometricalRuleType.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.
Delete the object.
GeometricalSelectionRule.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.