Hello,
I am somehow stuck at a seemingly simple task: I select multiple nodes with getbyboundingbox and want to select one in order to add it to a set:
allNodes = Model.parts['Matrix'].nodes
CenterNodes = allNodes.getByBoundingBox(...)
CenterNode = (CenterNodes[0],)
Model.parts['Matrix'].Set(name='CenterNode', nodes=CenterNode)
The original error message was: TypeError: nodes; found MeshNode, expecting tuple
I get the "problem" CenterNodes is a sequence, whereas CenterNode[0] is a mesh object. But I can't figure out how to solve this.I tried putting it in brackets (as you can see), but this did not work:
"Feature creation failed."
KInd regards
Mike
