Skip to main content

Mechanical scripting interface 2025

`SelectionOperatorType`

Last update: 09.03.2026

class Ansys.Mechanical.DataModel.Enums.SelectionOperatorType(*args, **kwds)

Bases: enum.Enum

Specifies the selection operator type.

Overview

Attributes

Name
Contains
Equal
GreaterThan
GreaterThanOrEqual
Largest
LessThan
LessThanOrEqual
No
NotEqual
RangeExclude
RangeInclude
Smallest
Yes

Attribute detail

SelectionOperatorType.Contains = 13

SelectionOperatorType.Equal = 1

SelectionOperatorType.GreaterThan = 5

SelectionOperatorType.GreaterThanOrEqual = 6

SelectionOperatorType.Largest = 10

SelectionOperatorType.LessThan = 3

SelectionOperatorType.LessThanOrEqual = 4

SelectionOperatorType.No = 12

SelectionOperatorType.NotEqual = 2

SelectionOperatorType.RangeExclude = 7

SelectionOperatorType.RangeInclude = 8

SelectionOperatorType.Smallest = 9

SelectionOperatorType.Yes = 11

Connect with Ansys