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 eitherGeometricalRuleType.GEOMETRY
orGeometricalRuleType.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 toFalse
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.
Delete the object.
GeometricalSelectionRule.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
The name of the object.