Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

ABAQUS MACRO - SUFRACE PROBLEM

Status
Not open for further replies.

Uros12

Mechanical
Mar 9, 2017
2
I made a macro file of a part. The idea of macro is to change the amount of cuts (see the attachments). When i change the amount of cuts, it also changes the amount of faces. Because there are more faces the macro selects the wrong surface. I am wondering if there is possilble somehow to lock those surfaces, or define them somehow so that they always stay in the same place.

attachments:



 
Replies continue below

Recommended for you

You can usually use findAt() or getClosest() to get a face at a specific location. This eliminates the need for hardwiring a specific face ID in the script.

See Scripting Reference Guide 7.6 FaceArray object
 
how exactly do i use findat function? I tried but it is not working. I wonder if this method work even if i change the size of a model?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor