add_selection_rule#

BooleanSelectionRule.add_selection_rule(selection_rule, *, operation_type='intersect', template_rule=False, parameter_1=0.0, parameter_2=0.0)#

Add a LinkedSelectionRule to the BooleanSelectionRule.

Parameters:
Return type:

LinkedSelectionRule

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.