×
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

What is the C++ CAA API corresponding to "Measure Between" toolbar action

What is the C++ CAA API corresponding to "Measure Between" toolbar action

What is the C++ CAA API corresponding to "Measure Between" toolbar action

(OP)
I am new to CATIA environment and need help on this issue:
I want to measure the distance between two points of a segment. One point is the bundle extremity and the other is a point defined in the geometrical set and lying on the segment.

I see that interactively we could do this through "Measure Between" toolbar action, but would like to know how we can compute this length through the CAA APIs.

Thanks,
Kiran

RE: What is the C++ CAA API corresponding to "Measure Between" toolbar action

check Measurable object

and GetMinumumDistance method

Eric N.
indocti discant et ament meminisse periti

RE: What is the C++ CAA API corresponding to "Measure Between" toolbar action

(OP)
On a related note, how do we find (through CATIA API) the length between two points on a curve segment. Please note that it is not minimum distance between which I require but the length of the segment between the two points along the cirve.

RE: What is the C++ CAA API corresponding to "Measure Between" toolbar action

split the curve and measure it

you might have to play with the side of the split

you can check the distance from the split to the other point to know if you have the proper curve (distance should be 0)

split A = split curve with Pt1 if distance (split A, PtB) = 0 then good if not get other side of splitA
split B = split curve with Pt2 if distance (split B, PtA) = 0 then good if not get other side of splitB

measure splitB

Eric N.
indocti discant et ament meminisse periti

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