create a nodeset for used in getSubset()

Hi

I need your help again. I tried for few days already without success. Thank you so much for your help.

I like to create a nodeset which will be used in getSubset() like below

fop=frame.fieldOutputs['S'].getSubset(region=nodeset_output,position=ELEMENT_NODAL)

Here is the code for creating the above nodeset:

node_region_list=[]
inst = odb_object.rootAssembly.instances['Part1-1']
for NodeLabel in NodeList:
node = inst.getNodeFromLabel(label=NodeLabel)  
node_region_list.append(node)
 
nodeset_output=inst.NodeSet(name='output_nodeset',nodes=node_region_list)
 
There is an error for last line. The error says: TypeError, nodes, found tuples, expecting odbMeshNodeArray

Thank you so much for your help. I appreciate it.