Generate Sketch in drawing sheet from existing sketch in drawing component (inside view)

Hi,

In my drawing, I have a sketch in drawing component (inside view). I have the selectbyiD string for this sketch. I want an API or some existing code to create sketch in drawing sheet overlapped with me original sketch.

I think its got to do some thing with 1> getting all the sketchsegment ( line , arc, etc ) of sketch and then 2> transforming them to drawing view.

I am hopeful to do it by myself with a lot of effort. But a readymade solution or path will be always welcomed.

-- Jeetendra Prasad.

SolidworksApi macros