其实,帮助getAttributes给了一段例程,我是对概念有些不理解
' Get the attributes for the block reference Dim varAttributes As Variant varAttributes = blockRefObj.GetAttributes 。。。
' Change the value of the attribute ' Note: There is no SetAttributes. Once you have the variant array, you have the objects. ' Changing them changes the objects in the drawing.
varAttributes(0).textString = "NEW VALUE!"
' Get the attributes Dim newvarAttributes As Variant newvarAttributes = blockRefObj.GetAttributes
将变量A赋值给变量B,b=a,对B的操作,如何影响到A呀,难道,地址?...