油气储运网

 找回密码
 立即注册

QQ登录

QQ快速登录

一步迅速开始

pdms培训&项目数字化360网
查看: 27549|回复: 18

[PDMS交流] PDMS管理员:导出MTO文件 配置步骤(MTO report)

[复制链接]
发表于 2018-4-25 10:05:01 | 显示全部楼层 |阅读模式
PDMS导出MTO管件数量的方式是:点击菜单栏的“utilities-standard reporting-reports”,run或者modify一个模版(推荐modify,直接run无法运行system command命令。)

pdms导出MTO管件数量

pdms导出MTO管件数量


MTOC MTOH MTOT Setting:属性说明及图示
Attribute
Object
Value

MTOC
Piping components
(include ELBO, FLAN, ATTA, INST, VALV, etc.; exclude TUBI)
ON or unset
component shows in drawing normally and material list/MTO;
e.g., set right flange MTOC=ON:
1.jpg
OFF
component shows in drawing normally, but not in material list/MTO;
e.g., set right flange MTOC=OFF:
2.jpg
DOTD
component shows in drawing in dotted lines, but not in material list/MTO;
e.g., set right flange MTOC= DOTD:
3.jpg
DOTU
component shows in drawing in dotted lines, but not in material list/MTO, and dimension line will not show;
e.g., set right flange MTOC= DOTU:
4.jpg
MTOH
TUBI directly connected to the head of branch
ON or unset
TUBI shows in material list/MTO
OFF
TUBI not shows in material list/MTO
DOTU
TUBI not shows in drawing in dotted lines, but not in material list/MTO, and dimension line will not show;
DOTD
TUBI not shows in material list/MTO
MTOT
TUBI not directly connected to the head of branch
ON or unset
TUBI shows in material list/MTO
OFF
TUBI not shows in material list/MTO
DOTU
TUBI not shows in drawing in dotted lines, but not in material list/MTO, and dimension line will not show;
DOTD
TUBI not shows in material list/MTO

Note: the recommended way is to use command to set the attribute, e.g., ‘MTOC OFF’

MTO导出with规则:

  1. TYPE NE 'BEND' ((TYPE NE 'TUBI' and (MTOC EQ 'ON' or MTOC EQ '' or MTOC EQ 'UNSET' )) or (TYPE EQ 'TUBI' and ((MTOT EQ 'ON' or MTOT EQ '' or MTOT EQ 'UNSET' ) or (MTOH EQ 'ON' or MTOH EQ '' or MTOH EQ 'UNSET' ))))
复制代码
这才是正确的代码。

如果导出提示代码太多,是因为HIERARCHY里你add了太多东西造成的,用group处理,建立一个groupset,把所有pipe的zone都放到里面,然后HIERARCHY里只add这个groupset。

关于mto生成后自动打开excel:

system command里填写代码:
  1. '"C:\Program files\Microsoft Office\Office14\excel.exe" D:\PDMS_MTO\PIPE.csv'
复制代码
注意:C:\Program files\Microsoft Office\Office14\excel.exe要和你电脑上的excel位置一致。

简单点,可以直接打开mto文件夹:
  1. 'start D:\PDMS_MTO'
复制代码

扫码访问本帖:
pdms.png
发表于 2018-4-25 19:29:22 | 显示全部楼层
好厉害,顶一个!!!!
发表于 2018-4-26 22:01:47 | 显示全部楼层
好厉害 实用 实用!
发表于 2018-4-27 11:01:55 来自手机 | 显示全部楼层
总结的不错  学习
发表于 2018-6-6 13:15:50 | 显示全部楼层
讲解的很详细啊
发表于 2019-3-16 22:15:07 | 显示全部楼层
很不错,前排支持一下
发表于 2019-5-6 20:54:44 | 显示全部楼层
高手啊,膜拜一下
您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

扫码访问手机版

QQ|关于我们|网站地图|油气储运网 ( 鲁ICP备11007657号-3 )

GMT+8, 2024-12-22 13:24 , Processed in 0.033879 second(s), 14 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回列表