×
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

Get the origin coordinates of a sketch

Get the origin coordinates of a sketch

Get the origin coordinates of a sketch

(OP)
Could somebody help me to get the xyz coordinates of a sketch?
I need it to distinguish if a pocket is made on one side or the opoosite of the part.
Hope somebody know how.
Regards

RE: Get the origin coordinates of a sketch

Hi,
You do not need the origin coordinates of the sketch to find out the pocket side.Just double click on the pocket then click on the sketch to find out the sketch position.





Regards,
Sudhakar.N

RE: Get the origin coordinates of a sketch

(OP)
Sorry sudhakarn, I wasn't clear enough.
I need the automation code to get the origin of the sketch.
I know I can get it with doublé click on the pocket but I am developing a Little application to make other operations on the part and I need to get this information in order to continue.
Thank you again.
Regards

RE: Get the origin coordinates of a sketch

Dim AbsCoord(8)
mySketch.GetAbsoluteAxisData AbsCoord

where

AbsCoord(0) -> Origin X
AbsCoord(1) -> Origin Y
AbsCoord(2) -> Origin Z
AbsCoord(3) -> H Axis X
AbsCoord(4) -> H Axis Y
AbsCoord(5) -> H Axis Z
AbsCoord(6) -> V Axis X
AbsCoord(7) -> V Axis Y
AbsCoord(8) -> V Axis Z

RE: Get the origin coordinates of a sketch

(OP)
Thank you very much gvi70000
That was exactly what I was looking for.
Kind regards

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