IntegerArray#
- Usage:
IntegerArray Class API Wrapper
- class IntegerArray[source]#
Bases:
objectWrapper for IntegerArray class of Moldflow Synergy.
- add_integer(value)[source]#
Add a integer value to the array.
- Parameters:
value (int) – The value to add.
- Return type:
None
- from_list(values)[source]#
Convert a list of integers to an integer array.
- Parameters:
values (list[int]) – The list of integers to convert.
- Returns:
The number of elements added to the array.
- Return type:
int
- property size: int#
Get the size of the array.
- Returns:
The size of the array.
- Return type:
int
- to_list()[source]#
Convert the integer array to a list of integers.
- Returns:
The list of integers.
- Return type:
list[int]
- val(index)[source]#
Get the value at the specified index.
- Parameters:
index (int) – The index of the value to get.
- Returns:
The value at the specified index.
- Return type:
int