I thought about using that but I wasn't sure how I would need to pass the first parameter :
AcadApp.DocumentManager.MdiActiveDocument.SendStringToExecute("._measure pl2d.ObjectId,b,FLEX100,o,1.5", true, false, false);
This is not working either since I'm obviously doing something wrong.