- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
I would like to ask for advice regarding coordinate transformation in the API.
I've got a number of points (Detail Item's location coordinates) in global systems which I want to describe in a particular family's coordinate system O', see attached picture. O is global origin, O' is the target Detail Item's location coordinates, big crosses are other Detail Item's location coordinates which need to be described in X',Y'.
As far as I understand I need to get the transform from the detail item family located at O' something like this:
Transform trf = O'.Location.GetTransform()
And then apply trf to each point that needs transforming to the new coordinate system. After this, X, Y, Z values returned from the transformed location points will be in the O' coordinate system.
Is this correct?
Solved! Go to Solution.