I have written the section assignment command in .py file with its arguments written in random order and ran it on am model in abaqusbut i am getting error. Does the sequence of arguments for a command in Python scripting of abaqus matter ?
Asked
Active
Viewed 246 times
1
-
you need to show the code and the error – agentp Mar 17 '18 at 12:37
1 Answers
0
The SectionAssignment
command may have a default order of arguments, but it's safer to use the keyword arguments syntax.
From Section 44.1.1 SectionAssignment(...)
in the Abaqus v6.14 Scripting Reference Guide, the required arguments are region and sectionName, while optional arguments are thicknessAssignment, offset, offsetType, and offsetField. Your syntax should thus look like
mdb.models[modelName].parts[partName].SectionAssignment(region=regionName, sectionName=sectionString, ...)
or
mdb.models[modelName].rootAssembly.SectionAssignment(region=regionName, sectionName=sectionString, ...)
rather than passing arguments in a random order.

dROOOze
- 1,727
- 1
- 9
- 17