luobouuu9 发表于 2015-7-13 17:24:34

c# 怎样获取指定ID的BlockTable

c# 获取指定ID的BlockTable

j15tty 发表于 2015-7-13 17:34:01

BlockTable bt = obj.GetObject(OpenMode.ForRead) as BlockTable;

j15tty 发表于 2015-7-13 17:38:22

ObjectId btrId = bt;//获取块表记录的Id

luobouuu9 发表于 2015-7-13 17:43:31

j15tty 发表于 2015-7-13 17:34 static/image/common/back.gif
BlockTable bt = obj.GetObject(OpenMode.ForRead) as BlockTable;

不对吧,好像少了一个参数GetObject

luobouuu9 发表于 2015-7-13 17:44:24

j15tty 发表于 2015-7-13 17:38 static/image/common/back.gif
ObjectId btrId = bt;//获取块表记录的Id

这个应该可以,我去试一下,太感谢啦
页: [1]
查看完整版本: c# 怎样获取指定ID的BlockTable