InsertSketchBlockInstance Only Inserting at Drawing Origin

 

 

I am attempting to write a C# add in for Inserting a SolidWorks block from a file.  It mostly works except it always comes in at the drawing origin (0,0,0).  

Here's the important part of the code - what am I doing wrong?

swDoc.SketchManager.AddToDB = true;
MathUtility swMathUt = default(MathUtility);
swMathUt = (MathUtility)iSwApp.GetMathUtility();
Double[] originPt = { 0, 0, 0 };

MathPoint blockDefInsPt = (MathPoint)swMathUt.CreatePoint(originPt);
MathPoint swMathPt = (MathPoint)swMathUt.CreatePoint(insPt);

SketchBlockDefinition blockDef;
blockDef = swDoc.SketchManager.MakeSketchBlockFromFile(null, blockName, false, 1, 0);

SketchBlockInstance blockInst;
blockInst = swDoc.SketchManager.InsertSketchBlockInstance(blockDef, swMathPt, scale, rot);

TryLog(progInfo, "InsertBlock", "0");
              
swDoc.SketchManager.AddToDB = false;
swDoc.GraphicsRedraw2();