VariableOffsetSelectionRule#

class ansys.acp.core.VariableOffsetSelectionRule(*, name='VariableOffsetSelectionrule', edge_set=None, offsets=None, angles=None, include_rule=True, use_offset_correction=False, element_set=None, inherit_from_lookup_table=True, radius_origin=(0.0, 0.0, 0.0), radius_direction=(1.0, 0.0, 0.0), distance_along_edge=False)#

Instantiate a Variable Offset Selection Rule.

Parameters:
  • name (str) – Name of the Variable Offset Selection Rule.

  • edge_set (EdgeSet | None) – Defines the edge along which the rule will be applied to.

  • offsets (LookUpTable1DColumn | None) – Defines the in-plane offset. Cuts elements which are closer to the edge than this value.

  • angles (LookUpTable1DColumn | None) – Defines the angle between the reference surface and the cutting plane.

  • include_rule (bool) – Include or exclude area in rule. Setting this to False inverts the selection.

  • use_offset_correction (bool) – If enabled, then the offset is measured along the surface of the selected Element Set.

  • element_set (ElementSet | None) – Defines the surface on which the offset correction is calculated on.

  • inherit_from_lookup_table (bool) – Specifies whether to inherit the Look-Up Table object properties.

  • radius_origin (tuple[float, float, float]) – Origin of the look-up table axis. Only applies if inherit_from_lookup_table is False.

  • radius_direction (tuple[float, float, float]) – Direction of the look-up table axis. Only applies if inherit_from_lookup_table is False.

  • distance_along_edge (bool) – If True, the look-up locations are evaluated along the edge, instead of along the axis direction.

Added in ACP server version 24.2.

Methods

VariableOffsetSelectionRule.clone(*[, unlink])

Create a new unstored object with the same properties.

VariableOffsetSelectionRule.delete()

Delete the object.

VariableOffsetSelectionRule.store(parent)

Store the object on the server.

Attributes

Examples using VariableOffsetSelectionRule#

Advanced selection rules

Advanced selection rules