Hello there,
I have written an abaqus script that builds, meshes, and runs a job. When I run the script through CAE it works, however, when I run the script through the command line using "abaqus python [script]" it gives the following error:
File "C:\Users\Joe\Documents\script.py.py", line 13, in
from part import *
File "SMAPython\SMAPytLibPy.m\src\site.py", line 120, in _numpyHook
"""Append ./build/lib.
ImportError: No module named part
It seems it doesn't recognize the part module which seems strange. The same error applies to the material module. How can I resolve this error as I intend to submit my script to a cluster?
On the other hand, I tested with a previous script that reads an odb and it doesn't produce any error when I import odbAccess and abaqus Constants.
Thanks in advance