添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • 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!
  • *Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

    using Abaqus python from ABAQUS command line

    Forum Search Links

    using Abaqus python from ABAQUS command line

    using Abaqus python from ABAQUS command line

    Hello all,

    I am new to scripting. I am trying to get the data along a path and I tried the explanation in

    http://www .eng-tips. com/viewth read.cfm?q id=154627& amp;page=1

    The problem is in command line python does not recognize the "session" and gives me the following error:

    name 'session' is not defined.

    but if I copy and paste the same script in the abaqus cae then I would not get this error. I think one reason might be that we can not use "import visualization" in CLI. Is there any substitute for visualization?
    Can you please help me and let me know if there is a way to fix that in CLI.

    Thanks

    RE: using Abaqus python from ABAQUS command line

    Are you running the script inside /CAE ? Abaqus Python scripts are not supposed to be run with the public Python distribution. Abaqus comes with its own Python compiler version which includes additional modules.

    RE: using Abaqus python from ABAQUS command line

    Thanks a lot.
    I am running ABAQUS python from the ABAQUS cmd, and it give me the above error. If I run this from CAE I won't get the error.
    Are you suggesting that I can not use ABAQUS PYTHON from ABAQUS cmd?

    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! Already a Member? Login

    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:

  • Eng-Tips Forums Talk To Other Members
  • Notification Of Responses To Questions
  • Favorite Forums One Click Access
  • Keyword Search Of All Posts, And More...
  • Register now while it's still free!

    Already a member? Close this window and log in.