已解决
- Dim objAttRef As AcadAttributeReference
- If objblkRef.HasAttributes Then
- varAttributes = objblkRef.GetAttributes
- For i = LBound(varAttributes) To UBound(varAttributes)
- Set objAttRef = varAttributes(i)
- objAttRef .textString = intnum
- objAttRef .Rotation = 0
- Next i
编辑CmdrDuh:添加了代码标记 |