本帖最后由 zhengjian211 于 2012-4-21 18:42 编辑
- [CommandMethod("t1")] static public void t1()
- {
- PromptEntityOptions p = new PromptEntityOptions("\n选择实体");
- PromptEntityResult res = Application.DocumentManager.MdiActiveDocument.Editor.GetEntity(p);
- if (res.Status == PromptStatus.OK)
- {
- Dictionary d = IsPipe();} public static Dictionary IsPipe()
- {
- Dictionary result = null;
- result.Add("管道层", "WP_G");
- }
报致命错误。。。怎么回事 百思不得其解啊!
|