Community
Text = New DBText Text.SetDatabaseDefaults() Text.Height = 2.25 * Application.GetSystemVariable("DIMSCALE") Text.Rotation = 300 Text.TextString = coord Text.Layer = "GRID-TEXT"
Text.TextStyleId = newTSId If MIR = True Then Text.HorizontalMode = TextHorizontalMode.TextRight Text.VerticalMode = TextVerticalMode.TextBottom Else Text.HorizontalMode = TextHorizontalMode.TextLeft Text.VerticalMode = TextVerticalMode.TextBottom End If Text.AlignmentPoint = pt If ucs = True Then Text.TransformBy(Doc.Editor.CurrentUserCoordinateSystem) End If btr.AppendEntity(Text) tr.AddNewlyCreatedDBObject(Text, True) tr.Commit()
when placing text the rotation is off in autocad, i set it to 300 and in autocad it should be 270 degrees it is 269. am i doing something wrong?
Can't find what you're looking for? Ask the community or share your knowledge.