|
|
发表于 2020-4-30 13:37:35
|
显示全部楼层
您可以在合成器进入触发些如下代码:[code]Object current = ownerobject(c);
Object item = param(1);
int port = param(2);
if (port == 1) {
Table thelist = getvarnode(current, "componentlist");
treenode thesum = getvarnode(current, "targetcomponentsum");
int tablerow = current.inObjects[1].stats.output.value;
Table src2sch = current.inObjects[2].find(">?schedule");
if(tablerow <= src2sch.numRows)
{
int packnum = src2sch[tablerow][3];
thesum.value = packnum;
thelist[1][1] = packnum;
}
}
[/code]
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|