Skip to main content

optiSLang Python API 2025 R2

id

Last update: 16.07.2025

class id.HID

static FromString() → HID

GetChild() → HID

GetDepth() → int

GetLeaf() → HID

GetNumber() → int

HasChild() → bool

RemoveUndermostChild() → HID

ToString() → str

__div__(arg2: int) → HID

__iadd__(arg2: int) → int

__idiv__(arg2: int) → HID

__init__()

__init__(arg2: int)

__init__(arg2: str) → object

__isub__(arg2: int) → int

__str__() → str

static from_string() → HID

get_child() → HID

get_depth() → int

get_leaf() → HID

get_number() → int

has_child() → bool

remove_undermost_child() → HID

to_string() → str

class id.HIDSet

A mutable set.

__and__(arg2: HIDSet) → HIDSet

Return the intersection of this set and other.

__contains__(arg2: HID) → bool

__delitem__(arg2: HID)

__hash__()

__init__()

__iter__() → object

__len__() → int

__or__(arg2: HIDSet) → HIDSet

Return the union of this set and other.

__sub__(arg2: HIDSet) → HIDSet

Return elements of this set that are not in other.

__xor__(arg2: HIDSet) → HIDSet

Return elements that are either in this set or in other but not in both.

add(element: HID)

Add element.

difference(other: HIDSet) → HIDSet

Return elements of this set that are not in other.

intersection(other: HIDSet) → HIDSet

Return the intersection of this set and other.

remove(element: HID)

Remove element.

symmetric_difference(other: HIDSet) → HIDSet

Return elements that are either in this set or in other but not in both.

union(other: HIDSet) → HIDSet

Return the union of this set and other.

class id.Id

__init__()

property name

class id.Tag

__init__()

property uuid

class id.UUID

__init__()

Raises an exception This class cannot be instantiated from Python

__str__() → str

Connect with Ansys