Hi @Alain, any news ? I am running into this and rs.DimStyleTextAlignment
throws an error in Rhino 6. Can you tell how to set it for all dimension types in RH6 ? In Rhino 5 this worked:
style.TextAlignment = Rhino.DocObjects.TextDisplayAlignment.InLine
style.CommitChanges()
Edit: I’ve found your answer here:
dim_style.DimTextLocation = Rhino.DocObjects.DimensionStyle.TextLocation.InDimLine
scriptcontext.doc.DimStyles.Modify(dim_style, dim_style.Id, True)
thanks,
c.