local gridBox = iup.gridbox{
table.unpack(Instances),
--Instances[1],
--Instances[2],
numcolumns = 3,
alignment = "ACENTER",
expand = "YES"
}
当我在 VSCode 中运行它时,它将仅显示实例表的 1 个元素,这始终是随机的,但是如果我使用例如实例 [1] 来执行此操作,则它们将显示高达 100%。然而,我需要它更“动态”
尝试直接放入表格中
local gridBox = iup.gridbox{
Instances,
numcolumns = 3,
alignment = "ACENTER",
expand = "YES"
}
就像前面提到的实例[1]