几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   【转帖】关于选择集的问题 (http://www.dimcax.com/hust/showthread.php?t=9361)

yang686526 2009-04-20 08:20 PM

【转帖】关于选择集的问题
 
关于选择集的问题
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");


所有的时间均为北京时间。 现在的时间是 01:43 AM.