×
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

measure tool, sw api

measure tool, sw api

measure tool, sw api

(OP)
Hello again

I have a sketch in which i want to get the GLOBAL coordinates of a point. The skecth position within 3d changes with different configurations (design table). So in one configuration, the sketch is say 3 metres from the origin and another it is 5 metres... etc.

At the moment, using the getSelectedObject3 method for the point, the returned value for x, y, z are referenced to the SKETCH ORIGIN, not the global origin. When the Measure tool is used (manually) though, it returns what i want - GLOBAL COORDS for the point, in 3d space.

So, im currently doing a lot of trigonometry lets say :) (relating sketch origin to global origin etc)

Does API allow access to the measure tool, and its results?

Thanks

Seedie54

RE: measure tool, sw api

The closest thing that I can find is the ToolsDistance method. I have not used this so I do not have a sample for you.

DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.

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