Create a drawing view based on a sketch plane

Hello,

I am trying to write a macro that will create a drawing vieworiented towards the sketch plane of the base extrude of a part.

I think I understand how to make the view usingDrawingDoc:CreateRelativeView, but I can't figure out how to getthe directions to put into this function (it needs two long valuesto define the view orientation). The closest thing I could find wasExtrudeFeatureData2:GetDirectionReference. THis seems to return twoentities that define the extrusion direction (such as a plane and apoint, or two planes etc). But CreateRelativeView needs longvalues. How do I get from one to the other?SolidworksApi macros