Not applicable
12-19-2018
05:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm getting point coordinates referred to the main origin with the following code:
punto = ThisApplication.ActiveDocument.ComponentDefinition.WorkPoints("Punto1")
x = punto.point.x
y = punto.point.y
z = punto.point.z
I can make the same with measure tool (see Position.jpg)
I would like to obtain (with code) the position of the point (x, y, z), but referring to a secondary origin (already set in the part), as I can do with measure tool (see Position other origin.jpg).
Many thanks to all for the cooperation!
Solved! Go to Solution.