I am a little new to python and I am using python modules in another program (ABAQUS). The question, however, is entirely related to python.
In the program, I need to create an array of integers. This array will later be used as input to the function defined in ABAQUS. The problem is with the data type of integers. In the array, integers have the data type 'int64'. However, I get the following error when I enter an array into the desired function:
"Only INT, FLOAT and DOUBLE are supported by the ABAQUS interface (use multiarray with typecode int if the standard long bit is 64 bits).
I do not need help with ABAQUS. If I convert the data type to 'int' in python, that will be enough. I thought I could just use the int () function to convert the data type. This did not work. Any suggestions would be highly appreciated. Thanks to everyone.
source
share