查看单个帖子
旧 2009-04-20, 08:20 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】关于选择集的问题

关于选择集的问题
www.dimcax.com
关于选择集的问题
typedvalue filtervalue1 = newtypedvalue((int)dxfcode.start, "circle");
selectionfilter filter = newselectionfilter(filtervalue1);
错误提示:
c:\csmgdacad\csmgdacad\class.cs(456,38): 错误 cs1502: 与“autodesk.autocad.editorinput.selectionfilter.selectionfilter(autodesk.autocad.databaseservices.typedvalue[])”最匹配的重载方法具有一些无效参数 c:\csmgdacad\csmgdacad\class.cs(456,58): 错误 cs1503: 参数“1”: 无法从“autodesk.autocad.databaseservices.typedvalue”转换为“autodesk.autocad.databaseservices.typedvalue[]”
结构体数组是什么呀,没明白????
ok!! typedvalue[] fillist = new typedvalue[1]; //build a filter list so that only block references are selected fillist[0] = new typedvalue((int)dxfcode.start, "insert");
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)