LinkedSelectionRule#

class ansys.acp.core.LinkedSelectionRule(selection_rule, *, operation_type='intersect', template_rule=False, parameter_1=0.0, parameter_2=0.0)#

Defines selection rules linked to a Boolean Selection Rule or Modeling Ply.

Parameters:

The parameter_1 and parameter_2 attributes determine the values of the following parameters, depending on the type of selection rule:

Rule Type

parameter_1

parameter_2

ParallelSelectionRule

lower_limit

upper_limit

CylindricalSelectionRule

radius

-

SphericalSelectionRule

radius

-

TubeSelectionRule

outer_radius

inner_radius

GeometricalSelectionRule

in_plane_capture_tolerance

-

VariableOffsetSelectionRule

-

-

BooleanSelectionRule

-

-

Note that CutOffSelectionRule and BooleanSelectionRule objects cannot be linked to a Boolean Selection Rule, only to a Modeling Ply..

Added in ACP server version 24.2.

Methods

LinkedSelectionRule.clone()

Create a new unstored LinkedSelectionRule with the same properties.

Attributes

LinkedSelectionRule.operation_type

Operation to combine the selection rule with other selection rules.

LinkedSelectionRule.parameter_1

First template parameter of the selection rule.

LinkedSelectionRule.parameter_2

Second template parameter of the selection rule.

LinkedSelectionRule.selection_rule

Link to an existing selection rule.

LinkedSelectionRule.template_rule

Whether the selection rule is a template rule.

Examples using LinkedSelectionRule#

Basic selection rules

Basic selection rules

Advanced selection rules

Advanced selection rules

HDF5 Composite CAE

HDF5 Composite CAE