When I execute this line of statement in CLI.
>>> execfile('C:\\Users\\Me\\Desktop\\Sample.py')
It throws this error
"ImportError: Module abaqusGui can only be used in Abaqus/CAE GUI "
"ImportError: Module kernelAccess can only be used in Abaqus/CAE GUI "
I was able to run other python scripts. The only difference is, these two import statements are present and causing the issue.
from abaqusGui import *
from kernelAccess import *
Yes, I need these import statements, and I am not at liberty to divulge the full python code.
What is the workaround solution for this?
Please help and thanks in advance.