AddDimension2 text location

Hello everyone,

   I have a simple question about how to enter the position of the text in a Model Sketch. When using the ModelDoc2::Extensions::AddDimension2 the position of the text is defined by the xyz values, the problem that I am running into is the coordinates are based on the Model not the 2D sketch. So for example if I sketch on the Right plane the coordinates for 1,2,0 are actually 0,2,1 because the plane is on YZ. Am I using the wrong method to create the dimensions? I looked under the SketchManager and did not see any methods for creating dimensions.  Or is there a easy way to convert the Model Coordinates to the Sketch Coordinates?

Thanks for the help!

Andy

SolidworksApi macros