-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AttributeError: 'Mdb' object has no attribute 'ModelFromInputFile' #5954
Comments
This is a bug, |
By the way, it seems that you are trying to run the script with your own python interpreter instead of abaqus python environment. You should run the script with the abaqus python environment. |
How about removing |
Seems that |
Can you try to run the script with PyCharm or VSCode instead of Spyder? |
I deleted the line " numThreadsPerMpiProcess". "Can you try to run the script with PyCharm or VSCode" Thank You altaf |
I deleted the line " numThreadsPerMpiProcess".
That did it in the ABAQUS CAE environment.
Thank You for your guidance.
*"Can you try to run the script with PyCharm or VSCode"*
*i will try to install PyCharm and try to run the script again.*
*Thank You*
*altaf *
…On Sun, Jan 26, 2025 at 10:57 PM Hailin Wang ***@***.***> wrote:
Closed #5954 <#5954> as completed
via #5955 <#5955>.
—
Reply to this email directly, view it on GitHub
<#5954 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ3J76QL5B7Z6M77SE3JGSD2MXKHLAVCNFSM6AAAAABV5KBDUWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJWGA3TGMRYGQ4TENA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The error i am getting while executing the preprocessor.py file from the https://github.com/RitioL/PolyFatigueCrackSim?tab=readme-ov-file#introduction repository is attached below.
kindly help with resolving the issue.
runfile('C:/PolyFatigueCrackSim-main/simulation_utils/preprocessor.py', wdir='C:/PolyFatigueCrackSim-main/simulation_utils')
Traceback (most recent call last):
File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\polyfatiguecracksim-main\simulation_utils\preprocessor.py:182
main(wp_path, model_name)
File c:\polyfatiguecracksim-main\simulation_utils\preprocessor.py:41 in main
mdb.ModelFromInputFile(name=modelName, inputFileName=inputFileName)
AttributeError: 'Mdb' object has no attribute 'ModelFromInputFile'
The text was updated successfully, but these errors were encountered: