Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Import a cae with python

Import a cae with python

Import a cae with python


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!

RE: Import a cae with python

Just do it in the GUI and check the Python command in the .rpy file.

RE: Import a cae with python

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 http://www.python.org/peps/pep-0263.html
for details", ('C:/Users/chourouk/Dropbox/th\xe8se/code
python/coupe_avec_une_sph.py', 70, 0, None))

RE: Import a cae with python

Look at your path to the cae file and you'll find the non-ASCII characters.

RE: Import a cae with python

thank you for your help

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close