VariableOffsetSelectionRule#

class ansys.acp.core.VariableOffsetSelectionRule(*, name='VariableOffsetSelectionrule', edge_set=None, offsets=None, angles=None, include_rule_type=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, default: 'VariableOffsetSelectionrule') – Name of the Variable Offset Selection Rule.

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

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

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

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

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

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

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

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

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

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

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

VariableOffsetSelectionRule.angles

VariableOffsetSelectionRule.distance_along_edge

VariableOffsetSelectionRule.edge_set

VariableOffsetSelectionRule.element_set

VariableOffsetSelectionRule.elemental_data

VariableOffsetSelectionRule.id

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

VariableOffsetSelectionRule.include_rule_type

VariableOffsetSelectionRule.inherit_from_lookup_table

VariableOffsetSelectionRule.name

The name of the object.

VariableOffsetSelectionRule.nodal_data

VariableOffsetSelectionRule.offsets

VariableOffsetSelectionRule.radius_direction

VariableOffsetSelectionRule.radius_origin

VariableOffsetSelectionRule.status

VariableOffsetSelectionRule.use_offset_correction