×
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

Really Simple GUI builder in Abaqus - rant & question.

Really Simple GUI builder in Abaqus - rant & question.

Really Simple GUI builder in Abaqus - rant & question.

(OP)
I've been running a Python scripts successfully in Abaqus for quite some time now.

So I was delighted to find the Really Simple GUI builder (RSGB), or I was until I tried to use it!

The kernel script I'm using is a mature piece of code so I thought it would be a prime candidate to test out in the RSGB.

All that really needed doing (or so I thought) was matching the widget inputs to the variables in the kernel function.

BUT for some unexplainable reason Abaqus declares that I have a syntax error on my function declaration line, see if you can spot it?

def setUp( modName, target, radMax, radMin, Vx, Vy, Vz, hght, wdth, zLen, numSphere ):

I should add that I have checked all my indents & that the variables sent by GUI match those in kernel function. The kernel function itself is the same piece of code that has been functioning perfectly well outside the RSGB framework when run using the Abaqus CLI

Am I missing something really obvious?

(or is it, as I suspect, that Abaqus has got it in for me?)

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