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
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
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
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
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
That was exactly what I was looking for.
Kind regards