查看: 167|回复: 1
收起左侧

[AVEVA MARINE] PML语言学习之批量移动FTUB

[复制链接]
发表于 2024-3-6 19:02 | 显示全部楼层 |阅读模式 来自: 中国江苏南通
var !brans coll all bran for ce

do !x index !brans
    !pipe = FLNM of OWNER of $!brans[$!x]
    var !ftubs coll all ftub for $!brans[$!x]
    !num = !ftubs.size()
    $p $!num
    if !num gt 1 then
       do !y index !ftubs
                                        $!pipe
                                        new bran
                                        new ftub copy $!ftubs[$!y]
          handle any
                                  endhandle
       enddo
       $!brans[$!x]
       delete bran
       handle any
       endhandle
          endif
   
enddo

回复

使用道具 举报

龙船学院
发表于 2024-3-7 13:16 | 显示全部楼层 来自: 中国江苏扬州
学习中…………
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|标签|免责声明|龙船社区

GMT+8, 2024-4-29 19:48

Powered by Imarine

Copyright © 2006, 龙船社区

快速回复 返回顶部 返回列表