Skip to main content

optiSLang Python API 2026 R1

stdcpp_python_export

Last update: 05.08.2026

class stdcpp_python_export.BasePathMode

Enumeration

ABSOLUTE_PATH = stdcpp_python_export.BasePathMode.ABSOLUTE_PATH

NUM_BASEPATH_MODES = stdcpp_python_export.BasePathMode.NUM_BASEPATH_MODES

PROJECT_RELATIVE = stdcpp_python_export.BasePathMode.PROJECT_RELATIVE

PROJECT_WORKING_DIR_RELATIVE = stdcpp_python_export.BasePathMode.PROJECT_WORKING_DIR_RELATIVE

REFERENCE_FILES_DIR_RELATIVE = stdcpp_python_export.BasePathMode.REFERENCE_FILES_DIR_RELATIVE

WORKING_DIR_RELATIVE = stdcpp_python_export.BasePathMode.WORKING_DIR_RELATIVE

class stdcpp_python_export.DoublePair

__init__()

property first

property second

stdcpp_python_export.MakeVariableNameValid(arg1: str) → str

stdcpp_python_export.MakeVariableNameValid(arg1: str, arg2: object) → str

class stdcpp_python_export.Path

__init__()

__init__(arg2: str)

__str__() → str

class stdcpp_python_export.PathSet

A mutable set.

__and__(arg2: PathSet) → PathSet

Return the intersection of this set and other.

__contains__(arg2: Path) → bool

__delitem__(arg2: Path)

__hash__()

__init__()

__iter__() → object

__len__() → int

__or__(arg2: PathSet) → PathSet

Return the union of this set and other.

__sub__(arg2: PathSet) → PathSet

Return elements of this set that are not in other.

__xor__(arg2: PathSet) → PathSet

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

add(element: Path)

Add element.

difference(other: PathSet) → PathSet

Return elements of this set that are not in other.

intersection(other: PathSet) → PathSet

Return the intersection of this set and other.

remove(element: Path)

Remove element.

symmetric_difference(other: PathSet) → PathSet

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

union(other: PathSet) → PathSet

Return the union of this set and other.

class stdcpp_python_export.RelativeSplittedPath

__init__()

__init__(arg2: Path)

__init__(arg2: Path, arg3: BasePathMode)

__init__(arg2: Path, arg3: BasePathMode, arg4: Path)

__init__(arg2: SplittedPath)

__init__(arg2: SplittedPath, arg3: BasePathMode)

__init__(arg2: SplittedPath, arg3: BasePathMode, arg4: Path)

property base_path

property base_path_mode

property splitted_path

class stdcpp_python_export.SizeSet

A mutable set.

__and__(arg2: SizeSet) → SizeSet

Return the intersection of this set and other.

__contains__(arg2: int) → bool

__delitem__(arg2: int)

__hash__()

__init__()

__iter__() → object

__len__() → int

__or__(arg2: SizeSet) → SizeSet

Return the union of this set and other.

__sub__(arg2: SizeSet) → SizeSet

Return elements of this set that are not in other.

__xor__(arg2: SizeSet) → SizeSet

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

add(element: int)

Add element.

difference(other: SizeSet) → SizeSet

Return elements of this set that are not in other.

intersection(other: SizeSet) → SizeSet

Return the intersection of this set and other.

remove(element: int)

Remove element.

symmetric_difference(other: SizeSet) → SizeSet

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

union(other: SizeSet) → SizeSet

Return the union of this set and other.

class stdcpp_python_export.SplittedPath

__init__()

__init__(arg2: str)

__init__(arg2: str, arg3: str)

__init__(arg2: Path)

__init__(arg2: Path, arg3: Path)

__str__() → str

property head

isSplitted() → bool

joined() → Path

property tail

class stdcpp_python_export.StrList

StrExportList() → StrList

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: str)

size() → int

sort()

class stdcpp_python_export.StrPair

__init__()

property first

property second

class stdcpp_python_export.StrSet

A mutable set.

__and__(arg2: StrSet) → StrSet

Return the intersection of this set and other.

__contains__(arg2: str) → bool

__delitem__(arg2: str)

__hash__()

__init__()

__iter__() → object

__len__() → int

__or__(arg2: StrSet) → StrSet

Return the union of this set and other.

__sub__(arg2: StrSet) → StrSet

Return elements of this set that are not in other.

__xor__(arg2: StrSet) → StrSet

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

add(element: str)

Add element.

difference(other: StrSet) → StrSet

Return elements of this set that are not in other.

intersection(other: StrSet) → StrSet

Return the intersection of this set and other.

remove(element: str)

Remove element.

symmetric_difference(other: StrSet) → StrSet

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

union(other: StrSet) → StrSet

Return the union of this set and other.

class stdcpp_python_export.WStrList

StrExportList() → WStrList

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: str)

size() → int

sort()

class stdcpp_python_export.WStrPair

__init__()

property first

property second

class stdcpp_python_export.WStrSet

A mutable set.

__and__(arg2: WStrSet) → WStrSet

Return the intersection of this set and other.

__contains__(arg2: str) → bool

__delitem__(arg2: str)

__hash__()

__init__()

__iter__() → object

__len__() → int

__or__(arg2: WStrSet) → WStrSet

Return the union of this set and other.

__sub__(arg2: WStrSet) → WStrSet

Return elements of this set that are not in other.

__xor__(arg2: WStrSet) → WStrSet

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

add(element: str)

Add element.

difference(other: WStrSet) → WStrSet

Return elements of this set that are not in other.

intersection(other: WStrSet) → WStrSet

Return the intersection of this set and other.

remove(element: str)

Remove element.

symmetric_difference(other: WStrSet) → WStrSet

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

union(other: WStrSet) → WStrSet

Return the union of this set and other.

class stdcpp_python_export.boolVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: bool)

size() → int

stdcpp_python_export.bool_list_to_vec(arg1: list) → boolVec

stdcpp_python_export.convertList2Vec(arg1: StrList) → stringVec

stdcpp_python_export.convertPyList2WList(arg1: list) → WStrList

stdcpp_python_export.convertVec2List(arg1: stringVec) → StrList

stdcpp_python_export.convertWList2PyList(arg1: WStrList) → list

stdcpp_python_export.convertWList2Vec(arg1: WStrList) → object

stdcpp_python_export.convertWVec2List(arg1: object) → WStrList

class stdcpp_python_export.doubleVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: float)

size() → int

class stdcpp_python_export.doubleVecVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: doubleVec)

size() → int

stdcpp_python_export.doubleVec_list_to_vec(arg1: list) → doubleVecVec

stdcpp_python_export.double_list_to_vec(arg1: list) → doubleVec

stdcpp_python_export.eraseWListElement(arg1: WStrList, arg2: int)

class stdcpp_python_export.intVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: int)

size() → int

stdcpp_python_export.int_list_to_vec(arg1: list) → intVec

stdcpp_python_export.list_to_vec(arg1: list) → intVec

stdcpp_python_export.list_to_vec(arg1: list) → uintVec

stdcpp_python_export.list_to_vec(arg1: list) → doubleVec

stdcpp_python_export.list_to_vec(arg1: list) → stringVec

stdcpp_python_export.list_to_vec(arg1: list) → doubleVecVec

stdcpp_python_export.list_to_vec(arg1: list) → boolVec

class stdcpp_python_export.map_indexing_suite_string_to_bool_map_entry

__init__()

__repr__() → object

data() → bool

key() → str

class stdcpp_python_export.map_indexing_suite_string_to_double_map_entry

__init__()

__repr__() → object

data() → float

key() → str

class stdcpp_python_export.map_indexing_suite_string_to_uint_map_entry

__init__()

__repr__() → object

data() → int

key() → str

class stdcpp_python_export.stringVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: str)

size() → int

stdcpp_python_export.string_list_to_vec(arg1: list) → stringVec

class stdcpp_python_export.string_to_bool_map

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

class stdcpp_python_export.string_to_double_map

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

class stdcpp_python_export.string_to_uint_map

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

class stdcpp_python_export.uintVec

__contains__(arg2: object) → bool

__delitem__(arg2: object)

__getitem__(arg2: object) → object

__init__()

__iter__() → object

__len__() → int

__setitem__(arg2: object, arg3: object)

append(arg2: object)

extend(arg2: object)

push_back(arg2: int)

size() → int

stdcpp_python_export.uint_list_to_vec(arg1: list) → uintVec

Connect with Ansys