SphericalSelectionRule#

class ansys.acp.core.SphericalSelectionRule(*, name='SphericalSelectionrule', use_global_coordinate_system=True, rosette=None, origin=(0.0, 0.0, 0.0), radius=0.0, relative_rule_type=False, include_rule_type=True)#

Instantiate a Spherical Selection Rule.

Parameters:
  • name (str, default: 'SphericalSelectionrule') – Name of the Spherical Selection Rule.

  • use_global_coordinate_system (bool, default: True) – Use global coordinate system for origin and direction.

  • rosette (Rosette | None, default: None) – Rosette used for origin and direction. Only applies if use_global_coordinate_system is False.

  • origin (tuple[float, ...], default: (0.0, 0.0, 0.0)) – Origin of the sphere.

  • radius (float, default: 0.0) – Radius of the sphere.

  • relative_rule_type (bool, default: False) – If True, parameters are evaluated relative to size of the object.

  • include_rule_type (bool, default: True) – Include or exclude area in rule. Setting this to False inverts the selection.

Methods

SphericalSelectionRule.clone(*[, unlink])

Create a new unstored object with the same properties.

SphericalSelectionRule.delete()

Delete the object.

SphericalSelectionRule.store(parent)

Store the object on the server.

Attributes

SphericalSelectionRule.direction

SphericalSelectionRule.elemental_data

SphericalSelectionRule.id

Identifier of the object, used for example as key in maps.

SphericalSelectionRule.include_rule_type

SphericalSelectionRule.name

The name of the object.

SphericalSelectionRule.nodal_data

SphericalSelectionRule.origin

SphericalSelectionRule.radius

SphericalSelectionRule.relative_rule_type

SphericalSelectionRule.rosette

SphericalSelectionRule.status

SphericalSelectionRule.use_global_coordinate_system