Create assembly level element set
Create assembly level element set
(OP)
Hello all,
I've been trying to create an assembly level element set in Python. The closest I've been to it is with the following code.
However, I get the error that "TypeError: arg1; found tuple, expecting int"
Any idea of how to create the set named "neop" with those two elements?
Thanks
I've been trying to create an assembly level element set in Python. The closest I've been to it is with the following code.
CODE --> Python
mdb.models[Modelname].rootAssembly.Set(elements=mdb.models[Modelname].rootAssembly.instances['Rubber-1'].elements.getFromLabel(('Rubber-1',(12)), ('Rubber-1',(23)),),name='neop') However, I get the error that "TypeError: arg1; found tuple, expecting int"
Any idea of how to create the set named "neop" with those two elements?
Thanks





RE: Create assembly level element set
CODE --> Python