如何把仪表添加到ISO图中的BOM表中

小乐 发表于 2021-08-05
问题:如何把仪表添加到ISO图中的BOM(物料清单)表中?
By default, instruments are not output to the BOM table in the out-of-box styles. To
add instruments to the BOM table, please add a new group for Instruments, shown in
RED below, to the AggregatedList/Groups element in the IsoConfig.xml file. For this
example the Final_ANSI-C iso style is being used. The IsoConfig.xml file is located
within the Isometric\Final_ANSI-C folder of the project.
默认情况下,仪器不会以现成样式输出到BOM表。要将仪表添加到BOM表中,请添加一个新的
仪器组(如下面的红字所示)添加到IsoConfig.xml文件中的AggregatedList/Groups元素。
对于这个例子,使用的是Final_ANSI-C iso样式。IsoConfig.xml文件位于项目的Isometric
\ Final_ANSI-C文件夹中。
<Group Name="PIPE SUPPORTS">
<RowFilter Filter="Support" />
<Labels>
<Label Name="pipe supports" />
</Labels>
<Columns>
<Column Name="Category" />
<Column Name="Code" />
</Columns>
<Sort SortBy="Type ASC,ConnectionSize ASC" />
<Precisions />
</Group>
<Group Name="Instrument">
<RowFilter Filter="Instrument" />
<Labels>
<Label Name="instrument" />
</Labels>
<Columns>
<Column Name="Category" />
<Column Name="Code" />
</Columns>
<Sort SortBy="Type ASC,ConnectionSize ASC" />
<Precisions />
</Group>
</Groups>
</AggregatedList>
<AggregatedList xsi:type="IsoCompositeDataListConfig" Name="ShopMaterials">
<RowFilter Filter="ItemCodeNotNullAndCategoryFabItem" />
<Index Name="PartNumber" Format="" Characters="" ModelSpecified="false"
ContinuousIndexing="false" /> Now, that you have a way of identifying & grouping instruments, you will need to 'define' an area
(or a row template) in your Iso.dwt template file so that the iso engine knows that it has to populate
that area with the newly created instruments group. If you open up the Iso.dwt file for the
Final_ANSI-C iso style, this is what the default Final_ANSI-C looks like. The default does not
include a row for instruments.
现在,已经有了识别和分组仪器的方法,需要在Iso.dwt模板文件中定义一个区域(或行模
板),以便iso引擎知道它必须填充该区域新创立的仪表组。如果为Final_ANSI-C iso样式打
开Iso.dwt文件,则这是默认的Final_ANSI-C的样子。默认值不包括仪表行。
 
Now, Just copy and paste the 2 rows for 'VALVES ≺valves>' and rename it to
'INSTRUMENT ≺instrument>'.The value in the angle brackets is the label that helps identifies what
components should go in there (This SHOULD match the label in the newly created group in
IsoConfig.xml).Once the row has been added, save you changes and return to the model drawing.
现在,只需复制并粘贴2行“VALVES<valves>”,并将其重命名为“
INSTRUMENT<instrument>”。尖括号中的值是有助于识别哪些组件应该进入的标签(这应该
与IsoConfig.xml中新创建的组中的标签相匹配)。添加行后,保存更改并返回到模型图。Finally, in the model drawing select the instrument valve and right click on the valve to select
properties so that the property window is visible. In the properties window in the General area find
the Content Iso Symbol Definition. Here the Type will need to be changed to INSTRUMENT. Once
the type has been changed make sure to save the drawing. This will allow the added instrument area
in the bill of material to be populated when the iso is created.
最后,在模型图中选择仪器阀门,右击阀门选择属性,使属性窗口可见。在“常规”区域的
属性窗口中,找到“元件ISO符号定义”。这里的Type将需要更改为INSTRUMENT。一旦更改了
类型,请确保保存图纸。这将允许在创建iso时填充材料清单中添加的仪器区域。With these changes in place, run an iso using the iso style modified. The Iso that is generated
will now generate a row in the bill of material that shows instruments.
有了这些更改,使用iso样式修改运行iso。生成的Iso现在将在显示仪器的材料清单中生
成一行。
视频请看:https://knowledge.autodesk.com/support/autocad-plant-3d/learn
explore/caas/screencast/Main/Details/29a09d55-2c81-4382-
b408-6f1772325c37.html
也可参考https://knowledge.autodesk.com/zh-hans/support/autocad-plant-3d/learn
explore/caas/sfdcarticles/sfdcarticles/CHS/How-to-create-a-separate-group-for
MISC-COMPONENT-in-the-isometric-bill-of-material.html
You have edited to isoconfig.xml so that instruments are included in the isometric
BOM but you find that the instruments are not annotated in the isometric drawing.
问题:已经编辑isoconfig.xml,把仪表添加到ISO图中的BOM表中,但是发现仪器未在等轴测
图中注释。
Solution:
To enable instrument BOM annotations in your isometric drawings you need to add an
instrument ComponentScheme to the isoconfig.xml for the isometric style that you
are using.
要在等轴测图中添加仪表BOM注释,您需要将仪表ComponentScheme添加到您正在使用的等轴测
图样式的isoconfig.xml中。
Below is an example of a line that will enable instruments.
下面是添加仪表的例子
<ComponentScheme Name="Instrument" AnnotationStyle="Rectangle" Tag="XX"
Alignment="FlatHorizontal" LeaderStyle="AlwaysNonArrowed" Filter="Instrument"
Fields="PartNumber" />
小乐笔记

一个纪录工艺管道、三维工厂管道配管软件如PDMS,Autocad plant3d的学习笔记的博客