Developer Documentation

IDList data type used for python scripting

The list type IdList is mapped to python.

The integrated conversion can map the C++ IdList type to and from a tuple, a list or a numpy array. The preferred choice is the numpy array.

Creating a list in python is the done like in the following example:

import numpy as np
list = np.array( [3,16,18])

The conversion from C++ to python will always create a numpy array on the python side.