Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Writing a script to select a part edge - should be simple.

Status
Not open for further replies.

trevdna

Structural
May 13, 2014
1
Hi all -

I'm still fairly new at ABAQUS and scripting in it. I've recorded a macro to create a 3-d part as an extrude from a 2-d sketch, and to create a mesh from. It also creates sets that include nodes on the ends of the part, but when I parameterize my script, I can't figure out how to have ABAQUS select the right nodes for my sets.

My problem is similar to what's here: and so I'm basically following what they recommended. I added the command session.journalOptions.setValues(replayGeometry=COORDINATE,
recoverGeometry=COORDINATE) to my script and that part of the script seems to be working fine. However, I'm still stuck on how to "calculate a center point for each edge, and then tell ABAQUS to select the nearest edge to that point." Any ideas?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor