<p>刚才认真看了一下atrpt.chm,其对Append Pipe End Preparations描述如下:</p><p>Adds pipe end preparation to the end of the pipe description in a report. ( e.g. BE X PE or BBE etc.)</p><p>A method exists for all components, <span twffan="done" style="FONT-SIZE: 10pt;"><font face="Courier New" style="FONT-FAMILY: 'Courier New';"><font color="#000080" style="COLOR: #000080;">BOM_DESCR_METHOD</font></font></span>, that determines how the BOM descriptions are generated. This method is stored in <span twffan="done" style="FONT-STYLE: italic;">..\BASE\COMMON\BOMDESCR.EBS</span>. Any component that does not have this method will inherit the default from the <font face="Courier New" style="FONT-FAMILY: 'Courier New';"><span twffan="done" style="FONT-SIZE: 10pt;"><font color="#000080" style="COLOR: #000080;">BASE_COMPONENTS_CLASS</font></span></font>. During BOM generation if the flags for appending topworks descriptions and pipe end code preparations are set in the user interface a temporary piping system variable is set and read by the script. The script will act on this variable as shown below for the pipe end preparations:</p><p class=" rgCode">status = at_Preference_getString(appendDescription, "AppendPipeEnds")</p><p class="PrgCode">If ((status = AT_SUCCESS) And (appendDescription = "1")) Then</p><p class="PrgCode">endsCode = at_Pipe_getEndsDescription (compID)</p><p style="MARGIN-BOTTOM: 0px;">To determine the pipe end preparations the file <span twffan="done" style="FONT-STYLE: italic;">PIPEENDS.INI</span> is scanned from the current configuration, for Imperial for example look in the file <span twffan="done" style="FONT-STYLE: italic;">..\CONFIG\IMPERIAL\PIPEENDS.INI</span>.</p><p style="MARGIN-BOTTOM: 0px;"></p><p style="MARGIN-BOTTOM: 0px;"><em>BOMDESCR.EBS(用记事本打开) </em>好像是一个C++程序,好久不摸C++了,生得很。短时间也不好读懂class的含义。大概是读取"Long_Descr"和“BOM_Descr”,根据取出的ENDCODE到 PIPEENDS.INI 这个文件中的EndMaps,根据对应的排列组合表从中取出对应的描述,放到材料表中去。</p><p style="MARGIN-BOTTOM: 0px;">从这个EndMap中大家可以看出,能对应的BE X PE 或者 BBE很多,所以说 BE X PE 或者BBE只是针对其中一种连接组合的元件端面处理方式。而BE X PE 或者BBE同时还能针对很多种。</p><p style="MARGIN-BOTTOM: 0px;">pipeends.ini大家可以用记事本打开看一下,很有意思。至于其中的读出以下ENDCODE方式大概就是缩写BUTT-WELD就是BW:</p><p style="MARGIN-BOTTOM: 0px;">AGM BV BW BWT CGM CUP FL FPM IGM MFM PFM PL RHM SCM SDL SOF STM SWM TAP TBM TCM CDM GLM GLF</p><p style="MARGIN-BOTTOM: 0px;">最终得到的这些描述结果的最终含义不知道相关的帮助或描述在哪里,还没有找到:</p><p style="MARGIN-BOTTOM: 0px;">BE X GE ; BBE ; BBE ; BBE ; BE X GE ; BE X PE ; BE X FL ; BE X PE ; BE X GE ; BE X PE ; BE X PE </p><p style="MARGIN-BOTTOM: 0px;">让我们来猜一个:BBE,Both Beveling of the Edge,两头坡口加工。</p><p style="MARGIN-BOTTOM: 0px;">也不知分析得对不对,请大家指正,另外谁知道这些描述的含义在哪个帮助文件里面,也请说一下,明天再研究研究)</p><p style="MARGIN-BOTTOM: 0px;"></p>
[此贴子已经被作者于2007-2-1 22:55:28编辑过]
|