查看单个帖子
旧 2009-04-20, 12:07 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】polyline的子实体

polyline的子实体
www.dimcax.com
polyline的子实体
如何获取polyline的子实体又称顶点(“vertex”)的 entity ???
polyline2d p2d = obj as polyline2d; if (p2d != null) { // 使用foreach 来获得包含的顶点 foreach (objectid vid in p2d) { vertex2d v2d = (vertex2d)tr.getobject( vid, openmode.forread ); ed.writemessage( "\n" + v2d.position.tostring() ); }
你是不是需要vertex2d这个啊?
对是这个的谢谢提示!
vb c# vlisp autocad gis
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)