CylindricalSelectionRule#
- class ansys.acp.core.CylindricalSelectionRule(*, 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_type=False, include_rule_type=True)#
Instantiate a Cylindrical Selection Rule.
- Parameters:
name (
str
, default:'CylindricalSelectionrule'
) – Name of the Cylindrical 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 ifuse_global_coordinate_system
is False.origin (
tuple
[float
,...
], default:(0.0, 0.0, 0.0)
) – Origin of the Cylindrical Selection Rule.direction (
tuple
[float
,...
], default:(0.0, 0.0, 1.0)
) – Direction of the Cylindrical Selection Rule.radius (
float
, default:0.0
) – Radius of the cylinder.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 toFalse
inverts the selection.
Methods
CylindricalSelectionRule.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
CylindricalSelectionRule.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
The name of the object.