Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Really Simple GUI builder in Abaqus - rant & question.

Status
Not open for further replies.

DrBwts

Mechanical
Joined
Nov 4, 2012
Messages
297
Location
GB
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?)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top