'---------------------------------------------定义字体为统一字体 Dim styobj As AcadTextStyle Dim typeface As String Dim pitchandfamily As Long Set styobj = acadapp.ActiveDocument.TextStyles.Add("统一字体") typeface = "统一字体" pitchandfamily = 1 Or 6 styobj.SetFont typeface, True, True, 1, pitchandfamily acadapp.ActiveDocument.ActiveTextStyle = styobj