Using mechanical scripting in python, how can I access the nodes associated with a named selection?
Below is a script that does this:
ns=model.NamedSelections.Children f=ns[0].Location.Ids meshData = ExtAPI.DataModel.Project.Model.Analyses[0].MeshData faceMesh = meshData.MeshRegionById(f[0]) nodes=faceMesh.NodeIds