×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

FEMAP API element ID

FEMAP API element ID

FEMAP API element ID

(OP)
Does anyone know how to find the element ID of the element that contains a coordinate position (point) in the global coordinate system?  This needs to be done from a FEMAP API.

RE: FEMAP API element ID

If the ends of a beam are defined by X1,Y1,Z1 and X2,Y2,Z2, and the point is Xp,Yp,Zp then

- Find the set of beams for which Xp is within the range X1 to X2.
- From that set find the set for which Yp is within the range Y1 to Y2.
- From that set find the set for which Zp is within the range Z1 to Z2.

Find the beam from that set for which the angle (X1,Y1,Z1)(Xp,Yp,Zp)(X2,Y2,Z2) is equal to 180 degrees, within a suitable tolerance.

That's the beam you want.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources