高分求教,关于AutoCAD Title Block的获取和设置

Joe-Fan 2011-12-13 09:39:59
如题,苦于无门,求高手赐教,开发语言为C#,如有Vb的也可,有Demo更好!万分感谢!
...全文
176 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Joe-Fan 2011-12-14
  • 打赏
  • 举报
回复
获取是没问题,修改块的值有没有啊,请教!
[Quote=引用 2 楼 sandy945 的回复:]

http://through-the-interface.typepad.com/through_the_interface/2006/09/getting_autocad.html
[/Quote]
Joe-Fan 2011-12-13
  • 打赏
  • 举报
回复
TypedValue[] filList = new TypedValue[1] {new TypedValue((int)DxfCode.Start, "INSERT")};
SelectionFilter filter =new SelectionFilter(filList);
PromptSelectionOptions opts =new PromptSelectionOptions();
opts.MessageForAdding = "Select block references: ";
PromptSelectionResult res = ed.GetSelection(opts, filter);

请问能否指教下这段代码的含义?
[Quote=引用 2 楼 sandy945 的回复:]

http://through-the-interface.typepad.com/through_the_interface/2006/09/getting_autocad.html
[/Quote]

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧