×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

Jobs

QUESTION ABOUT PYTHON SCRIPTS

QUESTION ABOUT PYTHON SCRIPTS

QUESTION ABOUT PYTHON SCRIPTS

(OP)
Dear collages:

First I want to congratulate to every people who make possible this forum. It's very helpful for people as me.

I'm new here (also in Abaqus software). I would like to do a SCRIPT to automatize a parametric calculation. In ANSYS is possible, to see APDL commands, go to List/File/Log File after click a button comand, and copy to a *txt file every options. Finally only is necessary to copy everything and paste in ANSYS Command Prompt. Is there anything similar in Abaqus?

Thank you very much.

Best regards,

Juan José

RE: QUESTION ABOUT PYTHON SCRIPTS

check the RPY file, it should be in your working directory.
the process is not error-proof unfortunately, as i've found out.
for instance, if you modify sth in the python script (like depth of a cut) and have geometry like a coord sys, it won't work after the change (something to do with how it defines pts for the cs).
does anyone have a solution for a problem like this?

RE: QUESTION ABOUT PYTHON SCRIPTS

(OP)
Dear colleages,

Thank you very much to loki3000 for your attention. In this moment I would like to know if anyone have a solution to my problem that I have described some weeks ago.

Thank you very much,

Juan José

RE: QUESTION ABOUT PYTHON SCRIPTS

What loki3000 wanted to tell you, I think if not correct me, is that in abaqus.rpy file located in your working directory, you can see every python command abaqus executes when you do something clicking on the abaqus interface. In this way, you can script and then to modify some values... and run it directly.

As well, in abaqus you have a command promt that allows you to enter the lines from your script to be executed one by one ... command promt (I think its called like this, isnt?) is located in the down part of abaqus inteface, click on the other tab.

Oriol

RE: QUESTION ABOUT PYTHON SCRIPTS

(OP)
Thank you very much for your asnwer. First I couldn't understand, but so now (*.rpy extension in Temp directory).

Best regards,

Juan José

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!


Resources