Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations The Obturator on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python script - obtaining nodes on a surface set

Status
Not open for further replies.

yaston4

Mechanical
Jan 9, 2012
130
Hello all,

I am writing a python script and for part of that I would like to obtain the nodes, coordinates and displacements which are within the geometry "surface set" that I have defined on a surface. Is it possible to do this, if so, how would this be done. Thank-you, really appreciate your help and input.

Thanks.
 
Replies continue below

Recommended for you

Hello Yaston4,

let's assume pickedSet is the name of your set. Each set object has a member called 'nodes'. You can call on this using:
pickedSet.nodes
This gives you a MeshNodeArray. You can loop through all the MeshNode objects in this array and find the displacement of each of those nodes.

Hope this gets you started.
 
Thanks, I managed to sort this out a while ago. Appreciate your kind reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor