4/4/13
Procedure 1. To generate a listing of the components in the top-level assembly only, the attributes of the repeat region should be set to No Duplicates and Flat. To modify the repeat region attributes, click Table > Repeat Region > Attributes and select the repeat region. Click the desired attributes, in this example: No Duplicates and Flat. No Duplicates will cause each part or subassembly to be listed in the table only once, and will also display the quantity of each component when the report parameter rpt.qty is used in the table. Setting this attribute will also cause the components to be listed alphabetically by component name. Flat will cause the repeat region to only search the top-level assembly for component names. When these attributes are set, the table will appear as shown in Figure 2.
Figure 2. 2. To generate a listing of all components in the top-level assembly and subassemblies, the attributes of the repeat region should be set to No Duplicates and Recursive . Recursive will cause the repeat region to search all levels of the assembly (top-level and subassemblies) for component names. When these attributes are set, the table will appear as shown in Figure 3.
www.ptc.com/cs/cs_27/howto/dwt_attr/dwt_attr.htm
2/5
4/4/13
Figure 3. 3. To generate a listing of components in order of assembly, the attributes of the repeat region should be set to Duplicates. Duplicates will cause a component to be listed every time that it is used in the assembly. Use Flat or Recursive to display information for the top-level assembly only or for all levels of the assembly, respectively. If the parameter rpt.qty is used in the table, this column will appear empty since every instance of the component will be listed once per row. Figure 4 shows the table that will be generated when Duplicates and Recursive are set. Note that if Recursive is set, the first component listed is the top-level assembly itself. The top-level assembly can be removed from the BOM using a filter if it is not required to be listed. For more information on using report filters, refer to the Suggested Technique for Using Report Filters
www.ptc.com/cs/cs_27/howto/dwt_attr/dwt_attr.htm
3/5
4/4/13
Figure 4. 4. To generate a listing of all components by level, the attributes of the repeat region should be set to No Dup/Level and Recursive . No Dup/Level will cause each component to be listed only once per level in the table. For example, if a part is used in two different subassemblies, it will be listed twice in the table. If the part is used in the same subassembly twice, it will appear as one row in the table with a quantity of two. Indentation can be applied to a repeat region that has Recursive specified as one of its attributes. To add indentation click Table > Repeat Region > Indentation and select the leading cell of the column where indentation is to be applied. Enter a numerical value to define the amount of indentation. Click
www.ptc.com/cs/cs_27/howto/dwt_attr/dwt_attr.htm 4/5
4/4/13
Update Tables to see the result. Figure 5. Illustrates the resulting table when the No Dup/Level attribute is used with Indentation . Note that the part TRIANGLE_2 is listed twice in the table. This is because the part is used in both the H_PLATE and V_PLATE subassemblies.
Figure 5.
5. Sometimes it is necessary to show some subassemblies recursively and others flat, all in the same repeat region. This can be accomplished using Table > Repeat Region > Flat/Rec Item. Select the table region followed by the item to make either recursive or flat. If the attributes of the table are set to Flat, selected items will be made recursive. Conversely, if the attributes of the table are set to Recursive , selected items will become flat. Click OK > Done/Return after selecting the desired items. 6. Start Index can be used to 'merge' the BOMs of unrelated assemblies when multiple repeat regions are created in a single table. Merging the regions will ensure that the index numbers of the two regions are consecutive instead of being duplicated. This is only relevant when the parameter rpt.index is used in the repeat region. To merge the regions, click Table > Repeat Region > Attributes and select the region whose index numbers are to be changed. Click Start Index and select the region that the index numbers will continue from. No Start Idx can be used to separate merged regions. Download the Finished File for this Technique