0

我想将 list[int] 转换为 array[int] 或将 int 转换为 array[int]

我试图安装 Mathnet.numerics。但我不知道我在哪里安装它以及如何安装..

for i in range(len(lst)):   
   k = List.GetItemAtIndex(lst,i)
   p = array[
   o = List.RemoveItemAtIndex(lst,p)    
   l = Solid.ByUnion(o)
   Arr_u[i] = Geometry.IntersectAll(k,l)

这是我的 revit 发电机代码(ironpython)。在List.RemoveItemAtIndex(lst,p), p 是必须的array[int]。但我无法改变它。

错误代码是“预期的数组 [int],得到 int”

4

0 回答 0