Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import a cae with python

Status
Not open for further replies.

chourouk

Mechanical
Sep 15, 2016
41
Hello!

can i import a cae from abaqus with python and then complete the rest of the step (meshing, load) with programating in python?

Thank you!
 
Replies continue below

Recommended for you

Just do it in the GUI and check the Python command in the .rpy file.
 
I use this instruction:

from caeModules import *
openMdb(pathName ='C:/Users/chourouk/Dropbox/thèse/numérique/Mousse_cube_essai1.cae')

but i have this error:

SyntaxError: ("Non-ASCII character '\\xe8' in file
C:/Users/chourouk/Dropbox/th\xe8se/code python/coupe_avec_une_sph.py on line
70, but no encoding declared; see for details", ('C:/Users/chourouk/Dropbox/th\xe8se/code
python/coupe_avec_une_sph.py', 70, 0, None))
 
Look at your path to the cae file and you'll find the non-ASCII characters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor