I have transformed a sketch point with the transform of the feature. I'm so close to the data that I need..., but the Y and Z coordinates are swapped.
I am working on transforming the data using a plane that is in the right coordinate system, but I don't know if that's the right way to go.
How do I get the coordinates to come out in the right orientation?
swSketchPoints = MathP.ArrayData
Set MathTrans = swSketchFeature.ModelToSketchTransform
Set MathTrans = MathTrans.Inverse
Set MathP = MathP.MultiplyTransform(MathTrans)
swSketchPoints = MathP.ArrayData
Converted Point = -10.8951928610316, -0.1400000756, -2.91935812849468
Should be = -10.8951928610316, -2.91935812849468, -0.1400000756
SolidworksApi macros