欢迎加我的QQ群:193522571,一起来讨论、交流!
摘要: public static void AddAttsToBlock(this ObjectId blockId, List<AttributeDefinition> atts, bool copyEntity = false) { Entity attNew; Database db = block 阅读全文
posted @ 2023-04-24 16:02 swtool 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 这个玩意绝对是个坑,CAD对Getselection的支持并不充分,需要通过keywordinput事件来弄,比较麻烦,而且很容易出问题。 所以我的做法是,不使用,哈哈! 下面这个是kean的代码: [CommandMethod("SELKW")] public void GetSelectionW 阅读全文
posted @ 2023-04-24 08:18 swtool 阅读(27) 评论(0) 推荐(0) 编辑
欢迎加我的QQ群:193522571,一起来讨论、交流!