create_cylindrical_selection_rule#

Model.create_cylindrical_selection_rule(*, name='CylindricalSelectionrule', use_global_coordinate_system=True, rosette=None, origin=(0.0, 0.0, 0.0), direction=(0.0, 0.0, 1.0), radius=0.0, relative_rule=False, include_rule=True)#

Instantiate a Cylindrical Selection Rule.

Parameters:
  • name (str) – Name of the Cylindrical 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 Cylindrical Selection Rule.

  • direction (tuple[float, ...]) – Direction of the Cylindrical Selection Rule.

  • radius (float) – Radius of the cylinder.

  • 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.

Return type:

CylindricalSelectionRule

Added in ACP server version 24.2.

Examples using Model.create_cylindrical_selection_rule#

Basic selection rules example

Basic selection rules example

Advanced selection rules example

Advanced selection rules example