Yes, you can do something like this (I am not testing this, you might need to correct any mistake):

Commenting post 6: Yes, you can do something like this (I am not testing this, you might need to correct any mistake):

import Draftp1=FreeCAD.Vector(0,0,0)p2=FreeCAD.Vector(2,0,0)p3=FreeCAD.Vector(1,1,0)myDim = Draft.makeDimension(p1,p2,p3)myPage = FreeCAD.ActiveDocument.addObject("Drawing::FeaturePage","Page")Draft.makeDrawingView(myDim,myPage)