|
发表于 2007-9-1 17:57:00
|
显示全部楼层
Dim MyObj As AcadBlockReference
Do
ThisDrawing.Utility.GetEntity MyObj, basePnt, "选择块参照"
MsgBox "The object type is: " & MyObj.EntityName, , "GetEntity Example"
If MyObj.EntityName = "AcDbBlockReference" Then Exit Do
Loop
Dim varAttributes As Variant
'varAttributes = MyObj.GetAttributes
varAttributes = MyObj.GetDynamicBlockProperties
MsgBox varAttributes(0).PropertyName & varAttributes(0).value
经研究这段程序可读出其自定义属性及属性值
有谁知道怎么写它的属性值吗
|
|