Creating/Baking angular dimensions from Python

A related question: Using Rhinocommon directly, it appears that only one of the AngularDimension() constructors is supported? The code below fails with the error message “AngularDimension() takes at most 2 arguments (6 given)” despite this being one of the documented constructors:

image

# Add angular dimensions
sc.doc = Rhino.RhinoDoc.ActiveDoc
dimStyle = rs.CurrentDimStyle()
rs.DimStyleTextHeight(dimStyle, 25)
ang_dim = Rhino.Geometry.AngularDimension(Rhino.Geometry.Plane.WorldXY,X,C,A,B,A)
dim = sc.doc.Objects.AddAngularDimension(ang_dim)
sc.doc = ghdoc