deleting nodes/grids

5 views
Skip to first unread message

clarkbr...@gmail.com

unread,
Feb 10, 2021, 7:42:27 PMFeb 10
to pyNastran Discuss
Steve,
After changing the node numbers of some elements, I have nodes that are not referenced any more. How can I delete a node that is no longer used by anything?
Thanks,
Clark

Steven Doyle

unread,
Feb 10, 2021, 9:01:21 PMFeb 10
to pynastra...@googlegroups.com
Clark,

SPOINTs/EPOINTs are a little different, but I assume you mean GRIDs, so

   del model.nodes[nid]

There’s also a remove_unused function in pyNastran.bdf.mesh_utils that might be useful.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/ddf7f0ab-ab20-4495-bae8-14ab4e0d580bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages