- 积分
- 239
- 明经币
- 个
- 注册时间
- 2004-6-4
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
Dim objEntity As AcadEntity Dim ptbase As Variant ThisDrawing.Utility.GetEntity objEntity, ptbase, "选择目标图层中的实体>>"
Dim DataType(0) As Integer Dim Data(0) As Variant DataType(0) = 1001
Data(0) = "居民地"
objEntity.SetXData DataType, Data Dim xdataOut As Variant Dim xtypeOut As Variant objEntity.GetXData "", xtypeOut, xdataOut
获取的xtypeout 和xdataout 皆为空值,请教各位大侠如何获取xdata的内容 |
|