helloshigy 发表于 2018-4-25 10:05:01

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

pdms导出MTO管件数量的方式是:点击菜单栏的“utilities-standard reporting-reports”,run或者modify一个模版(推荐modify,直接run无法运行system command命令。)


MTOC MTOH MTOT Setting:属性说明及图示
AttributeObjectValue

MTOCPiping components
(include ELBO, FLAN, ATTA, INST, VALV, etc.; exclude TUBI)ON or unsetcomponent shows in drawing normally and material list/MTO;e.g., set right flange MTOC=ON:
OFFcomponent shows in drawing normally, but not in material list/MTO;e.g., set right flange MTOC=OFF:
DOTDcomponent shows in drawing in dotted lines, but not in material list/MTO;e.g., set right flange MTOC= DOTD:
DOTUcomponent 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:
MTOHTUBI directly connected to the head of branchON or unsetTUBI shows in material list/MTO
OFFTUBI not shows in material list/MTO
DOTUTUBI not shows in drawing in dotted lines, but not in material list/MTO, and dimension line will not show;
DOTDTUBI not shows in material list/MTO
MTOTTUBI not directly connected to the head of branchON or unsetTUBI shows in material list/MTO
OFFTUBI not shows in material list/MTO
DOTUTUBI not shows in drawing in dotted lines, but not in material list/MTO, and dimension line will not show;
DOTDTUBI not shows in material list/MTO

Note: the recommended way is to use command to set the attribute, e.g., ‘MTOC OFF’
MTO导出with规则: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里填写代码:'"C:\Program files\Microsoft Office\Office14\excel.exe" D:\PDMS_MTO\PIPE.csv'注意:C:\Program files\Microsoft Office\Office14\excel.exe要和你电脑上的excel位置一致。

简单点,可以直接打开mto文件夹:
'start D:\PDMS_MTO'
扫码访问本帖:

lin005 发表于 2018-4-25 19:29:22

好厉害,顶一个!!!!

wzfxihou 发表于 2018-4-26 22:01:47

好厉害 实用 实用!

yifang 发表于 2018-4-27 11:01:55

总结的不错学习

buster1022 发表于 2018-5-3 16:01:00

{:4_92:}{:4_92:}{:4_92:}{:4_92:}{:4_92:}{:4_92:}{:4_92:}

ab403999562 发表于 2018-6-6 13:15:50

讲解的很详细啊

processor 发表于 2019-3-16 22:15:07

很不错,前排支持一下

赵瑞祥_X77T5 发表于 2019-5-6 20:54:44

高手啊,膜拜一下

18816760517 发表于 2019-12-19 21:46:52

这是高手{:4_110:}{:4_110:}{:4_110:}{:4_110:}{:4_110:}

18816760517 发表于 2020-7-22 20:58:41

{:4_98:}{:4_98:}{:4_98:}{:4_98:}
页: [1] 2
查看完整版本: PDMS管理员:导出MTO文件 配置步骤(MTO report)