ParallelSelectionRule#
- class ansys.acp.core.ParallelSelectionRule(*, name='ParallelSelectionrule', use_global_coordinate_system=True, rosette=None, origin=(0.0, 0.0, 0.0), direction=(1.0, 0.0, 0.0), lower_limit=0.0, upper_limit=0.0, relative_rule=False, include_rule=True)#
Instantiate a Parallel Selection Rule.
- Parameters:
name (str) – Name of the Parallel Selection Rule.
use_global_coordinate_system (bool) – Use global coordinate system for origin and direction.
rosette (Rosette | None) – Rosette used for origin and direction. Only applies if
use_global_coordinate_system
is False.origin (tuple[float, ...]) – Origin of the Parallel Selection Rule.
direction (tuple[float, ...]) – Direction of the Parallel Selection Rule.
lower_limit (float) – Negative distance of the Parallel Selection Rule.
upper_limit (float) – Positive distance of the Parallel Selection Rule.
relative_rule (bool) – If True, parameters are evaluated relative to size of the object.
include_rule (bool) – Include or exclude area in rule. Setting this to
False
inverts the selection.
Added in ACP server version 24.2.
Methods
ParallelSelectionRule.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
ParallelSelectionRule.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.