Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Commands for selecting entities by location

Status
Not open for further replies.

nice_guy

Mechanical
Nov 27, 2019
3
Hi all,
I'm fairly new to Abaqus.
For the sake of automating tedious operations of selecting entities i'm looking for a way to make automatic selection of nodes/faces/edges by either location and/or it's size.
I'd like to run few command lines to do things like for example:
pick all nodes located in between 0-3 degrees of THETA on a cylindrical CS and then remove from the selection all nodes from of Z coordinate less than 5 and save all the selected nodes to a set.

I'll appreciate any kind of help.
Thanks!
 
Replies continue below

Recommended for you

If you know the location of the thing you are looking for, then you can use getClosest(), findAt() or getByBoundingBox() - or cylinder or sphere.
But the locations have to be given in cartesian coordinates.

In your case I would cycle through all nodes (or a previously reduced set by a box) and check their coordinates. Again, you have to transform the coordinates to a cylindrical CSYS yourself, but that should be easy to do. If the node fulfills your criteria, then you can add it into a list or do whatever you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor