DrBwts
Mechanical
- Nov 4, 2012
- 297
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?)
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?)