model.add_card(new_element,'CTRIA3')
This seems to also not properly create the element because the code below gives an error:
model.elements[next_element].Normal()
The error is:
" positions[i, :] = node.get_position()
AttributeError: 'int' object has no attribute 'get_position'"
And sure enough, when I check model.elements[next_element].nodes I see a list of integers rather than node objects.
I have tried to use node objects in place of the node IDs, but I get a different error shown below:
RuntimeError: field='GRID 1691 -.2475.4286823 -.045\n' is not 16 characters long...rawValue=GRID 1691 -.2475.4286823 -.045
What am I doing wrong?
Thomas
--
You received this message because you are subscribed to the Google Groups "pyNastran Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.