Pro Report
Pro Report
Pro Report
Pro/REPORT is a fully associative, optional Pro/ENGINEER module for creating customized reports. This chapter explains how to combine text, graphics, tables, and data to create a dynamic report. Topic
Overview Creating Reports Repeat Regions BOM Balloons
Overview
In Drawing mode, you can use Pro/REPORT to create dynamic, customized reports with drawing views and graphics. Pro/REPORT also works with Pro/HARNESS-MFG, Pro/PIPING, Pro/MFG, and Pro/DIAGRAM. By defining repeat regions, you can add model data to a report which expands and shrinks as the model changes. You can also use the following techniques to manage the data that appears in a report:
Add filters to eliminate specific types of data from appearing in reports, drawing tables, or layout tables. Search recursive or top-level assembly data for display. List duplicate occurrences of model data individually or as a group in a report, drawing table, or layout table. Directly link assembly component balloons to a customized BOM and automatically update them when you make assembly modifications.
You can generate several kinds of output using Pro/REPORT such as family tables, associative reports, and graphical wirelists. A common example of a report is a customized Bill of Materials (BOM), such as the one shown in the next figure. Report with Assembly Views
Creating Reports
In Report mode, you can display data in tabular form in reports just as it is in drawing tables. The system takes the data that it reports in the tables directly from a selected model and updates it when you change the model. However, you cannot modify all model dimension values and geometry in Report mode--they are read-only. The system gives report files the file extension .rep.
3. In the Create Report dialog box, specify the report size or retrieve a format: o To specify the size, select Set Size and do one of the following: Click Portrait in the Orientation box (to make the height larger than the width) and select a standard size from the Standard Size list. Click Landscape in the Orientation box (to make the width larger than the height) and select a standard size from the Standard Size list. Click Variable in the Orientation box to define both the height and width dimensions. Select Inches or Millimeters and type values in the Width and Height boxes. o To retrieve a format, click Retrieve Format and select a name from the Name list in the Format box. You can also type [?] or click Browse to select a name from the Open dialog box. 4. Click OK. The system displays the report as specified and the REPORT menu appears. 5. Create a drawing table on the drawing sheet by choosing REPORT > Table > Create (see Creating Drawing Tables for complete instructions on table creation). 6. Define a repeat region by choosing TABLE > Repeat Region > Add (see How to Add a Simple Repeat Region to a Table). 7. Select cells to repeat with model information.
8. Choose Enter Text and type title text in a row or column outside of the repeat region (unless you want that text to repeat with every occurrence of model data). 9. The repeat region in the table must contain symbol parameter information to be shown in the table (see Including Report Parameters in a Repeat Regionfor a list of pre-defined system parameters). Choose TABLE > Enter Text >
Keyboard; or choose ENTER CELL > Report Sym (see Assembly Component Parameters for a detailed explanation). 10.Add the assembly model to the report by choosing REPORT > Views and typing the name of the assembly. 11.The system automatically chooses Add View from the VIEWS menu, and the VIEW TYPE menu appears. To add views of the assembly to the report, add a general view to the sheet. If you do not want views of the model in the report, choose VIEW TYPE > Quit and VIEWS > Done/Return. The system still adds the model to the report, but it does not display it on the sheet. You can add drawing views at any time. 12.If necessary, choose Repaint to display the contents of the table. 13.Add a drawing format to the report or change it by choosing SHEETS > Format > Add/Replace. You can predefine tables on these drawing formats, save them, and recall them at any time into a report or drawing.
You may also add the drawing table used in the report by including it in a drawing format that you can retrieve. When you add a drawing format containing a table to a report, drawing, or layout, the table becomes independent of the format. If you decide to replace the format, the system highlights the table, and you can delete it.
Repeat Regions
Repeat regions are user-defined rows and columns, or combinations of rows and columns (cells) that duplicate themselves to accommodate the amount of data that the model currently possesses. They contain the following:
System and user-defined parameters for which the values are extracted from the model that is associated with the report Standard table text
By using repeat regions, your tables containing report data can expand and contract with varying quantities of data supplied by the models. The following example shows a BOM with repeat regions. BOM with Repeat Regions
If you have a license for Pro/REPORT, you can create a repeat region in any mode in which you can create a table (Drawing, Report, Layout, Diagram, or Format mode). You can nest repeat regions or make them two-directional.
Note: You can specify multiple repeat regions for a single table, but they cannot overlap.
If you substitute a component with anything other than a simplified representation of itself, the assembly tree itself is different. The system does not show excluded components, even if they are in memory. Parameter values set by assembly relations (except mass properties) reflect the represented states of the models within the assembly. A repeat region is automatically associated with the current model or simplified representation. o If the current simplified representation changes, the repeat region is always associated with the original simplified representation when it was created or loaded. o If the current model is an assembly, the repeat region is associated with that assembly model. o If the current model is a simplified representation, it is associated with the simplified representation. If you substitute a part or subassembly with a simplified representation, the system still displays it in the correct location in the assembly tree. For example, if you substitute a part in the third level of the assembly with a simplified representation of the part, the report displays the substitution in the third level. This applies only to substitutions by simplified representations.
You can create a table or Bill of Materials with piping information in a drawing, so that the system updates the table automatically to reflect changes in the piping assembly. You can also customize drawing tables to reflect practices specific to your particular company.
Naming Conventions
The naming conventions for simplified representations in a repeat region are as follows:
If you substitute a component with a simplified representation, the system gives it the original part name. If you substitute a component with a family table instance, the system gives it the instance name. If you substitute a component with an envelope, the system gives it the envelope component name. If you substitute a component with a geometry snapshot, the system gives it the original part name. If you substitute a component with an interchange group, the system gives it the interchange part or assembly (and part) names.
Restrictions
The following restrictions apply when you use an assembly simplified representation to drive a repeat region:
Pro/REPORT supports designated parameters of geometry snapshots only in repeat regions, not in notes. Component parameters are not available for substituted parts. The system supports the following report symbols for simplified representation models: o asm (including cable) o harn o rel o mdl o rpt o weld.asm o piping
In the following figure, a table has been added to a report. A model has not been added to the report yet, so data is not listed in the columns. In the next figure, an assembly model has been added to the report that contains the two subassemblies, ``Large Pipe'' and ``Small Pipe,'' so the repeat region grows to accommodate the requested data. Table Created on a Report
If you add an additional component to the assembly, the system updates the repeat region accordingly. In the following figure, the part ``Support Base'' was added to the same assembly and after updating the table, the repeat region grows to accommodate the new component member. Part Added to Assembly
If you set the drawing setup file option ``model_digits_in_region'' to ``yes,'' two-dimensional repeat regions reflect the number of digits of the part and assembly model dimensions. To change the number of digits of the dimension in the drawing, you must show the model dimensions on the drawing and use the Num Digits command. How to Add a Simple Repeat Region to a Table
1. Choose TBL REGIONS > Add > Simple. 2. Select the uppermost row of the repeat region. 3. Select the bottom row of the repeat region.
The next figure presents a report with a table consisting of three columns and two rows. A repeat region contains the cells from the entire lower row. Repeat Region with Cells from Entire Lower Row
In the next figure, the column header text is typed. In this example, an index, the assembly member name, and the quantity information are intended to be shown. Repeat Region with Column Header Text
The report parameter symbols ``&rpt.index,'' ``&asm.mbr.name,'' and ``&rpt.qty'' are typed into the three cells that make up the repeat region (see Assembly Component Parameters for details on parameters). The system automatically includes an ampersand preceding all parameter symbols if you enter the text by choosing Report Sym from the ENTER CELL menu. The result appears in the following figure. Repeat Region with Report Parameter Symbols
To add the top-level assembly, ``Main Vessel,'' to the report, choose Views, and then type [Main Vessel]. You do not have to place the drawing view of the assembly at this time. The table expands after you select the model. All of the default attributes are chosen for this repeat region (that is, duplicates, flat). The quantity values are not listed in this expanded table because the Duplicates command lists all occurrences of assembly members separately. Therefore, all quantities are assumed to be 1. The resulting table appears as shown in the following figure.
Pro/REPORT Parameters
&asm.mbr.cparams.na me
Lists the names of all user-defined parameters in an assembly component. This parameter is defined for the parts making up the connector outside of the cabling environment.
&asm.mbr.cparams.va lue
Lists the values of all user-defined parameters in an assembly component. This parameter is defined for the parts making up the connector outside of the cabling environment.
&asm.mbr.cparam.Use r Defined
Lists the specified user-defined parameters used in an assembly component. These parameters are defined for the parts making up the connector outside of the cabling environment.
&asm.mbr.name
Displays the name of an assembly member. To show tie wraps and markers, the region attributes must be set to Cable Info.
&asm.mbr.param.nam e
&asm.mbr.param.valu e
&asm.mbr.type
&asm.mbr.User Defined
Lists the specified user-defined parameter for the respective assembly components. Note that ``&asm.mbr.'' can be used as a prefix before any user-defined parameter in an assembly member.
&fam.inst.name
&fam.inst.param
Displays the dimensions of suppressed features in a 2-D repeat region as dashes. This is not a complete symbol; only suppresses dashed dimensions if the drawing setup file option ``dash_supp_dims_on_region'' is set to ``yes,'' the default.
&fam.inst.param.id
&fam.inst.param.name
&fam.inst.param.value
&lay.param.name
&lay.param.value
&mdl.param.name
&mdl.param.value
&rpt.index
&rpt.level
&rpt.qty
Note: These parameters do not exist at the part level as ``asm.mbr.parametername'' and other parameters can.
The part ``LARGE_PLATE'' is given the ``price'' parameter as well. In subassembly ``SMALL_PIPE,'' one occurrence of part ``O_RING'' is assigned the ``price'' parameter also; the parameter exists in assembly ``SMALL_PIPE'' and not in part ``O_RING.'' When the system parses the component parameters for the top-level assembly ``Main Vessel,'' it includes the parameter. Every parameter that is assigned to a component in this example is added to its parent assembly as a feature relation. This figure shows the repeat region template using the component parameters. Repeat Region Template Using the Component Parameters
Assigning Feature Relation Parameters When you assign feature relation parameters to assemblies, you must select the assembly component, not a feature of the component. For example, when you query-select to assign the parameter, the message area reads ``Showing partname component No. X in assemblyname,'' instead of ``Showing feature X (feature type) in part partname.'' If you select the feature inadvertently, the assigned parameter values do not parse on the report because the report symbols ``&asm.mbr.cparam(s)'' search only for assembly parameters. When the system parses the symbols, the table looks like the example in the following figure. The repeat region has attributes of Duplicates and Recursive specified. The column with the heading ``PRICE'' lists only values for the parameter symbol ``price.'' The column with the heading ``PARAMETER'' lists the names of all of the user-defined parameters assigned to each component. The column with the heading ``VALUE'' lists the values of all of the user-defined parameters assigned to each component. These parameters are sorted in the order in which they were added to the model. Note that where a component has multiple parameters (assembly ``Large Pipe''), multiple entries are present. (You might want to use a nested repeat region in this case to differentiate the multiple entries from the other assembly components.) Table with Parameter Symbols Parsed
``asm.mbr.name'' or ``asm.mbr.type'' parameter symbols are used in the repeat region. You cannot use repeat region attributes No Duplicates or No Dup/Level when you use the ``asm.mbr.cblprms.name'' parameter symbol in that region. For more information, see the Pro/CABLING and Pro/HARNESS-MFG User's Guide. Creating Pro/REPORT Tables in Flat Harnessed Drawings
Using the top-level report symbol, ``mbr,'' you can create Pro/REPORT tables in a flat harnessed drawing for a single assembly component/connector. When you enter an ``mbr'' symbol such as ``mbr.name'' into a repeat region, the system arbitrarily selects a component from the default drawing model and reports only on that component, producing the relevant subset of the table that would be produced if you had typed the ``asm.mbr'' symbol instead.
To change the component that is driving the repeat region, you must display it in the view. When you choose Model / Rep from the TBL REGIONS menu and select a region driven by the symbols beginning with ``mbr,'' the system prompts you to select a component in a view. When you select a component, that component then drives the repeat region. For more information about working with flat harnessed drawings, see the Pro/CABLING and Pro/HARNESS-MFG User's Guide. Showing Terminators in Report Tables You can show terminators in report tables for cable assemblies that have connectors with terminator parameters by using the report symbols ``&asm.mbr.name'' and ``&asm.mbr.type.'' To show the terminators, set the drawing setup file option ``show_cbl_term_in_region'' to ``yes'' (the attribute Cable Info must be set for the repeat region). When creating new drawings, the default value is ``yes.'' For existing drawings, the default value is ``no.''
To create tables that display data for different models, you must change the active model (see Adding Models to the Drawing), and then create a new repeat region and type the parameters. Otherwise, the system takes data from the last active model. Repeat regions always remember the models from which the system is extracting their values. A report parameter that you type in a repeat region on the drawing while a certain model is active reads values from that model only. The system extracts report parameter values only when you include the parameters within a repeat region. For example, if you type a set of report parameters in a table without a repeat region, the system does not read parameters from the active model until they are enclosed by a repeat region. If the report parameter symbol ``&asm.name'' resides inside a table but outside of a repeat region, it can have a postfix number (for example, ``&asm.name:3'') to specify the assembly in a multi-model drawing from which it is reading its information. These postfix numbers always begin counting at ``0.''
Modifying Values You can type the value of a user-defined parameter in Drawing, Layout, or Diagram mode, but not in Report mode. Report mode is read-only and modifications do not reflect back to the model database. However, you can modify the following parameter values in Report mode, and the value does reflect back to the model database:
You can modify the value of these user-defined report parameters within repeat regions using the Modify and Value commands. Modifying these values on the sheet on which they appear changes them throughout the database. You can also modify them if they appear in notes.
Duplicates--Lists duplicate occurrences of a parameter individually in a repeat region. This command sorts by feature number any data from the ``&asm.mbr.name'' parameter symbol display. No Duplicates--Lists duplicate occurrences of a parameter singly, along with a quantity if you use the parameter ``&rpt.qty'' in the region. This command sorts by parameter value any data from the ``&asm.mbr.name'' parameter symbol display. No Dup/Level--For a selected level of the region, lists duplicate occurrences of a parameter singly, along with a quantity if you use the parameter symbol ``&rpt.qty'' in the region. This command allows you to list duplicates only if the object resides in different levels of the assembly. There are no duplicates per level in the assembly. It sorts by parameter value any data that from the ``&asm.mbr.name'' parameter symbol display. Recursive--Searches all levels of data for parameters. Flat--Searches only the top level of data for parameters. Min Repeats--Sets the minimum number of repetitions for a repeat region. The default minimum is ``1.'' The system leaves extra rows blank. If the minimum is set to ``0,'' it avoids blank lines caused by the lack of data. Start Index--Begins the index numbering of a repeat region (the value of ``&rpt.index'') where the index numbering of another repeat region ended. You cannot assign this attribute to nested repeat regions. No Start Idx--Begins the index numbering of a repeat region at 1. Cable Info--Displays the cable parameter information in tables containing appropriate parameter symbols. No Cbl Info--Displays only assembly parameter information in tables (that is, no cabling information appears). Bln By Part--When you suppress or replace a component to which a BOM balloon is attached, this command reattaches the balloon to another placement of the same part. Bln By Comp--Specifies that simple BOM balloons reattach themselves to whatever component replaced the one that originally owned the BOM balloon (see Regenerating Balloons for Suppressed Components for more information).
Note: The template cell drives the number of digits of a quantity. In a two-directional repeat region, modifying the number of digits in the first column affects every column.
Controlling Attributes
The next figure presents the same table as that shown in Entering Report Parameters into a Table. The repeat region contains the system parameter symbols ``&rpt.index,'' ``&asm.mbr.name,'' and ``&rpt.qty'' (for system parameters, see Including Report Parameters in a Repeat Region). The default repeat region attributes of Duplicates and Flat are used. In Report mode, the assembly ``Main Vessel'' is added to a report, and then the table is added to the report. Repeat Region Containing System Parameters
The resulting table looks like the one in the following figure. The index numbers appear in the left column and the names of the members of the assembly appear in the middle column. No quantity appears since the attribute Duplicates is being used and the quantity is always ``1.'' Table Added to Report, and Then Assembly Model
The following figure shows a table with a nested repeat region. The regions do not overlap. The attributes for both the inner and the outer repeat regions have been set using No Duplicates and Flat. Table with a Nested Repeat Region
When the model assembly ``Main Vessel'' is added to the report, the resulting table appears as shown in the next figure. Model Assembly ``Main Vessel'' Added
Entries in the outer repeat region are listed under the header ``item name,'' while entries in the inner repeat region are listed under the header ``sub-item name.'' Since item ``Support Base'' is a part and has no subitems, the row beneath its entry is blank. If you set the minimum number of repeats for the inner repeat region to 0, this prevents blank lines if there is no information at that level. In the following figure, the attributes of the inner repeat region have been changed to Duplicates and Flat. Notice that the subitems have multiple entries where possible, and no value for quantity is listed for them. Attributes of Inner Repeat Region Changed to Duplicates and Flat
In the next figure, the attributes for the outer repeat region have been changed to No Duplicates and Recursive. The attributes for the inner repeat region have been changed to No Dup/Level and Recursive. To display the No Dup/Level attribute, the part ``O Ring'' was added to the assembly ``Large Pipe'' for this example only. The ``O Ring'' part now exists in two levels of the ``Main Vessel'' assembly (``Small Pipe'' assembly and ``Large Pipe'' assembly). Attributes of Outer Repeat Region Changed to No Dup/Level and Recursive
The first of these three regions is the outermost region, in which the other two subregions are completely enclosed. The second and third repeat regions are one-directional regions that define how the overall two-directional repeat region expands. They define the horizontal and vertical expansion characteristics. One cell must be common to all three of these regions. This cell defines the corner boundary cell between the horizontal and vertical expansion, and it should be at the end of the two inner, subregions.
The first cell selected is the one that remains fixed after the table expands horizontally and vertically. Next, double-click the cell that is diagonally across from the first selected cell. (For a table created as the Descending/Rightward type, first select the upper left cell and then doubleclick the lower right cell). You can delete as a unit the three repeat regions that compose the 2-D repeat region. The column and row subregions can have their own independent attributes, filters, and sorting keys.
Note: You can paginate 2-D repeat regions if they run off the bottom edge of a sheet, but not if they run off a side edge.
The next figure shows a table that was created to display parameter values for every instance in a family table library part.
Note: The arrangement of the repeat regions is the same as in the previous illustration. Some cells were merged to clarify the expanded table.
Table with Parameter Values for Instances in a Family Table Library Part
In the following figure, the heading text and parameter values were entered for the library model ``ELMFEMWS.prt'' (see Assembly Component Parameters). Heading Text and Parameter Values Entered for Library Model ``ELMFEMWS.prt''
This 2-D repeat region expands downward and to the right because the table was created as the Descending/Rightward (default) type in the TABLE CREATE menu. You can create a 2-D repeat region to expand up or down, left or right by creating the table accordingly. When part ``ELMFEMWS.prt'' is added to the report from the Pro/ENGINEER BASIC LIBRARY, the result appears as shown in the next figure. You can merge the blank cells to form a continuous blank space. The columns of the horizontally expanding region will have the same width. To remove unwanted columns, create a filter using the syntax &fam.inst.param.name = ``parameter name''. For example, if the NUM_OF_TEETH parameter is not required in the table shown in the next figure, use the filter &fam.inst.param.name = ``NUM_OF_TEETH''. For more information, see Adding Filters. 2-D Repeat Region Displaying a Family Table
The system copies the segment definitions from the format if the table was copied from a format, the table on the format was paginated on two sheets, and the drawing table currently has only one sheet. Otherwise, it copies segment definitions from what was previously the last sheet of the table.
How to Paginate Report Tables That Are on the Same Drawing Sheet
1. Choose TABLE > Pagination. 2. Select a table that has at least one repeat region. Note: The Save command in the Pro/ENGINEER File menu is not available while you are in the TBL PAGIN menu. 3. If the table contains only one segment (on any sheet), choose TBL PAGIN > Set Extent and select a lower extent for that one segment. Otherwise, select a table segment for which to set the extent. Tables always fill down to use up as much of their extent as possible. 4. Choose Add Segment and add a new segment on the current sheet. Locate the origin of the new segment and then its extent. 5. To change the pagination, choose Clear Extent to clear all pagination information from the table. The system removes all segments other than the first, appends their contents to the first segment, erases the table, and draws it in its unpaginated state. Repeat Steps 2 through 4. 6. Choose TBL PAGIN > Done to accept all modifications and add any remaining sheets, or choose TBL PAGIN > Quit to remove all modifications after responding to the confirmation.
Two-directional repeat regions cannot have titles. For single-row headers and footers, you must select the row twice for the first and second rows. A region can have only one header and one footer. However, since a table can have more than one paginated region, a table can have more than one header and more than one footer. When selecting rows to be used in a title, you cannot choose a row that is part of a repeat region. Two titles cannot intersect each other. That is, when creating a new title, you cannot select a portion (one or two rows) of an existing title to be used in the
new title. However, you can define the same rows to be both the header and the footer of the same region or to be titles of a number of regions. You cannot create a header or footer title in a row that has cells merged in a column. The system inserts a header at the top of a segment, and inserts a footer at the bottom of a segment, regardless of the direction of the table's growth (that is, ascending or descending).
The next figure illustrates how to use a header title in a table with a descending repeat region. Example of Table Segments with Header Title in a Table with a Descending Repeat Region
Adding Filters
Using the By Rule command in the FILTER REG menu, you can remove multiple items that match a specified pattern. You can use filters in the following forms to further specify the information to appear:
<symbol>--Any parameter that is valid in a repeat region <comparison operator>--Any of the operators <, >, <=, =>, ==, and != <literal value>--Any integer, floating point, or string value
Filters exclude from a repeat region any record that uses one of the filtered parameters and whose value does not match the constraint defined by the filter. The system omits the entire record from the table, not just the parameter affected by the filter. For instance, the filter &asm.mbr.type==part in a repeat region omits all records of objects other than parts from the report.
Note: If you filter in a two-directional repeat region, it only removes the particular cell, not the entire record.
A filter such as &asm.mbr.material!=steel excludes all records of assembly members with a material parameter value (user-defined) of ``steel'' from the report. You can also enter filters that work for multiple values, such as &asm.mbr.name==part_a,part_b,part_j, which would exclude from the report all records of assembly members other than ``part_a.prt'', ``part_b.prt'', and ``part_j.prt''. A line can contain up to 80 characters. When creating a filter with multiple acceptable values such as this one, you can only use the operators ``=='' and ``!=''. When using filters with these operators in a repeat region, keep in mind the following:
If you add filters with the operator ``=='' to more than one line in a repeat region, all entries are blanked and the table appears to be empty. For ``=='' operators with more than one value, the values are linked by ``or.'' For example, for the filter &asm.mbr.name==part_1,part_2,part_3, the repeat region would exclude all objects other than those parts having the name ``part_1,'' ``part_2,'' or ``part_3.'' For ``!='' operators with more than one value, the values are linked by ``and.'' For example, for the filter &asm.mbr.name!=part_a,part_b,part_c, the repeat region would exclude those parts having the name ``part_a,'' ``part_b,'' and ``part_c.''
You can use wildcard characters (*) in report filters, but they are only allowed in filters that use the operators ``=='' or ``!=''; filters of any other type that contain ``*'' are in error, and you are prompted to re-type the filter. For example, you can use the wildcard in these filters:
The first filter would match the strings ``part,'' ``part1,'' ``part_A,'' and ``partabcdefg.'' The second filter would match the strings ``my,'' ``this_is_my_assembly,'' ``autonomy,'' ``not_yours,'' and ``your.'' If you add a backslash (\) in the right-hand side of a filter (after the operator), the system reads the character after the backslash literally (as itself), not as a special character. You can then filter for an asterisk character. For example, &asm.mbr.name>=part\* matches strings that are alphanumerically greater than or equal to the string ``part*''. The system interprets backslashes in report parameters or between string quotes literally as backslash characters. It interprets the parameter ``&asm.\mbr.name'' as a report symbol named ``asm.\mbr.name'' (an invalid name), and the filter:
&asm.mbr.name==``match this\''
matches only the string ``match this\''. It treats a backslash that is not in a report parameter, not enclosed by string quotes, and not followed by another character as a null string (`` ''). It interprets anything between two string quotes literally; the filter:
&asm.mbr.name<``:\\***''
matches strings that are alphanumerically smaller than ``:\\***''. For filters created prior to Release 11.0 that contain the wildcard character, the system interprets the character literally (as an asterisk).
Note: You should not use filters on the system parameter symbol ``&rpt.index''.
In the next figure, the attributes of the outer repeat region are specified as No Dup/Level and Recursive. The attributes for the inner repeat region are specified as No Dup/Level and Flat. Attributes for Outer Repeat Region Specified as No Dup/Level and Recursive
When the filter &rpt.level>1 is added to the outer repeat region, the resulting table looks like the example in the next figure. The row containing ``Main Vessel,'' the first level of the assembly, is removed. Only those members with a level value higher than 1 remain. Filter ``&rpt.level>1'' Added to Outer Repeat Region
In the next figure, that filter is cleared from the inside repeat region and added to the outside repeat region. Again, all parts have been omitted from the region. Filter Cleared from Inside Repeat Region and Added to Outside
The system preserves the exclusion attribute if you rename the model by choosing Rename... from the Pro/ENGINEER File menu or using Pro/PDM. You cannot filter items if the table is frozen. This functionality is not available in Pro/DIAGRAM. You cannot exclude the following: o Items in 2-D repeat regions and subregions (you can use By Rule to filter out columns or rows in 2-D repeat regions). o Records that have comment cells and dash items. o Records that have no associated parametric attachment information. The system does not preserve the exclusion attribute in the following situations: o When the region has the No Duplicates attribute and the assembly does not have at least one copy of the excluded item during the assemble/disassemble process. o If you switch among the Duplicates, No Duplicates, and No Duplicates/Level attributes.
When you choose Default Sort, it sorts entries forward, by ASCII character value. When you choose No Default, it sorts entries in database order.
You can specify more than one parameter symbol for sorting a region; the system sorts entries by the first parameter, and then by each succeeding parameter, if necessary. You can enter userdefined parameters as sorting parameters. You can sort a region forward (in ascending order) or backward (in descending order). For the purposes of sorting, the system considers a text string in a repeat region to consist of two parts:
A nonnumerical part, which comprises everything in the string that precedes the numerical part. A numerical part, which comprises all contiguous numbers at the end of the string, possibly including a decimal point.
Note: The system considers a leading ``+'' or ``-'' to be a portion of the numerical part of the string if the string contains no other nonnumerical data.
In any given string, either the numerical or the nonnumerical part can be empty. The system determines the sort order by making a comparison between each pair of strings in the field selected as the sort key. Instead of comparing each pair of strings strictly as strings, it considers the numerical and nonnumerical parts separately. If the nonnumerical parts of two strings are identical, it determines the order by considering their numerical parts as numbers. A sorting parameter is valid only for the specified repeat region. Repeat regions that are nested are not affected by sorting parameters at a higher region. How to Add a Sorting Parameter to a Region
1. 2. 3. 4. 5. Choose TBL REGIONS > Sort Regions. Select within the region you need to sort. Choose SORT REGION > Add. From the SORT ORDER menu, choose Forward or Backward. Select the repeat region parameter by which you want to sort. Choose Done Sel when you have finished. 6. Choose SORT REGION > Done. The system reorders the entries in the repeat region.
Vessel,'' like the parts in the first region. The Start Index command continues the numbering in the second region in sequence from where the numbering in the first region ends. Index Number in the Second Region Beginning at 1
System Updates Index Numbering of Second Repeat Region, Continuing Numbering Begun in the First Region
``asm.mbr.cblprms'' ``PRS'' All harness parameter symbols All family table symbols All parameter symbols showing cabling terminator names or types
o o
Before creating a comment cell, you must list the data in the table so that you can choose a particular object to comment. How to Create a Comment Cell
1. Choose TBL REGIONS > Comments > Define Cell. 2. Select an empty cell within an existing repeat region template. In Report and Format mode, the system highlights the cell in cyan. All cells in that column are now comment cells. 3. Choose TABLE > Enter Text and type text in the comment cell for a particular entry. The text remains associated with that entry regardless of how the system sorts the region.
Whenever you remove a row in the repeat region from the table (either by using a filter or by changing the setting for Duplicates/No Duplicates/No Dup/Level or Recursive/Flat), the system deletes the text of a comment cell in that row. It does not redisplay the text if you return the row to the table by clearing the filter or resetting the region attributes.
All parameter symbols of the following type: o ``asm.mbr.cparam'' o ``asm.mbr.cparams'' o ``asm.mbr.cblprm'' o ``asm.mbr.cblprms'' All harness parameter symbols All family table symbols All parameter symbols showing cabling terminator names or types
Whenever you change a table value to or from a dash symbol, the system updates the table. If ``rpt.qty'' or ``rpt.index'' parameter symbol values appear more than once in a repeat region, and you convert any of them to a dash symbol, the system converts all like occurrences of these values in that region to a dash symbol. Likewise, if you remove a dash symbol from a table region containing multiple occurrences of the same parameter value, the system converts all like parameter values containing dashes. When a ``rpt.index'' parameter symbol value converts to a dash symbol, it does not disturb the continuity of the remaining index values. For example, if the system converts the third record in a table index to a dash symbol, the index appears as 1, 2, -, 3, 4, ... . If it converts any ``rpt.qty'' parameter symbol value in a table to a dash symbol, it has no effect on the table's evaluation of relations, sorting, or filtering. The table evaluates relations, sorts, and filters as if the true quantity value was displayed. BOM balloons containing ``rpt.qty'' or ``rpt.index'' parameter symbol values that have been replaced in the table by a dash symbol do not appear until you remove the Dash symbol in the table. For more information, see BOM Balloons.
Note: Dash symbols are associated with the data they replace, just as table comments are, and can be lost if you modify the repeat region's attributes. For example, if you replace a report quantity value of 3 with a dash symbol, and then modify the region's attributes to duplicates, the system warns you that the content of comment cells or dash items can be lost and asks you if you want to continue. If you continue, it converts the dashed symbols to the appropriate parameter value display.
Specifying Indentation
Using the Indentation command in the TBL REGIONS menu, you can specify an indentation for report data in recursive repeat regions. The cell to which you apply the indentation must be in a repeat region that has Recursive specified as one of its attributes, and should contain a recursive report parameter symbol (such as ``asm.mbr.name''), although this is not a requirement. If you select a cell that does not contain a recursive parameter, the system informs you, but it indents the data if you specify a value. Pro/ENGINEER expresses indentation for a repeat region cell using a number between 0 and 100. The number indicates the value in characters (at the default text size) by which that data is indented in a recursive repeat region. Pro/ENGINEER increments the indentation by the specified amount at each new level in the table. How to Specify Indentation for a Repeat Region Cell
1. Choose TBL REGIONS > Indentation. 2. Select the cell in a repeat region template for which you want to specify the indentation. 3. Type a value for the indentation.
4. Choose Update Tables to redisplay the table with indentation. Note: If you specify the indentation for a cell in an existing table, you must choose TBL REGIONS > Update Tables before you can view the result.
The following figure is an example of repeat region cells using indents. Indentation has been specified for the second column, containing values of ``asm.mbr.name,'' and the third column, containing values of ``asm.mbr.type.'' For each cell, the indentation was specified as 5. Note how this indentation is incremented at each recursive level. Indented Information in a Recursive Repeat Region
Fixing an Index
Using the Fix Index command in the TBL REGIONS menu, you can fix the index of a repeat region record so that it remains the same even after you insert additional items into the repeat region or sort the repeat region differently. When fixing an index of a repeat region, keep the following restrictions in mind:
If you fix the index of a record to be larger than the size of the repeat region, that record appears at the end of the repeat region. If you remove a record from a repeat region whose index has been fixed (for example, a component is suppressed in an assembly), the fixed index does not appear in the repeat region until you unfix it or use it for another record.
If you change the attribute of a repeat region from Duplicate to No Duplicate (or vice versa), the fixed index no longer appears. However, if you change the attribute back to its original setting, the system replaces the fixed index. You cannot use an index with these symbols: o All symbols of the type ``asm.mbr.cparam'' o All symbols of the type ``asm.mbr.cparams'' o All symbols of the type ``asm.mbr.cblprm'' o All symbols of the type ``asm.mbr.cblprms'' o All harness symbols o All family table symbols o All symbols showing cabling terminator names or types If a record cannot have comment cells and dash items, you cannot fix its index. If you fix a record's index, you cannot dash its ``rpt.index,'' and vice versa. You cannot use a fixed index for 2-D repeat regions. You cannot fix the index of a process symbol (that is, all symbols of type ``prs''). A fixed index takes precedence over the following: o Report relations. o Start index of a repeat region. For example, if a repeat region starts at index 12 (taken from the last index of another repeat region), but one of its records is fixed at 2, that record appears first in the repeat region with index 2. o Sort keys of a repeat region. The system determines the position of a record by its fixed index if it has one. For example, a record is always at the beginning of a repeat region if its index is fixed to 1.
To display any changes that you make using the commands in the FIX INDEX menu, you must choose Done.
To unfix all indices in a record, choose Unfix and Record. The system highlights all records whose indices are fixed. You can then select the records that you want to unfix. To unfix one index, choose Unfix and Index; then type a fixed index. To unfix all fixed indices in all records in a repeat region, choose Unfix and Region; then choose Confirm from the CONFIRMATION menu.
Writing Relations
Using the Relations command in the TBL REGIONS menu, you can write relations among parameter symbols in a repeat region and output the computed information in the same repeat region. The system stores the relations' parameter symbols created in a repeat region with it and you cannot reference them outside of the region. In assignment statements, you can put only new parameter symbols on the left-hand side. You must refer to parameter symbols in repeat regions by specifying their full name and converting the period (.) to an underscore (_), as shown in the following figure. To use the following example, you must add ``rpt_qty'' as a repeat region parameter symbol. Example of Relation
3. Choose rpt, rel, and User Defined from the REPORT SYM menu to use this relation in the repeat region. 4. Type the name of the parameter in the repeat region relation.
Obtaining a Summation
Using the Summation command in the TBL REGIONS menu, you can add a summation parameter to the drawing and include it in a note, or delete the summation parameter from the drawing. How to Obtain a Summation of the Parameter Values of a Repeat Region
1. 2. 3. 4. Choose TABLE > Repeat Region > Summation. Select a region in the drawing; then choose TBL SUM > Add. Select a report parameter in the repeat region. Type a parameter name. You must select a table cell in which to place the parameter. The system adds a new parameter to the drawing whose value is the summation of the values of the selected report parameter. Note: The parameter is like any other parameter that is accessible using Parameters in the DWG SET UP menu, except that you cannot modify or delete it. 5. When the system prompts you to update the value, choose TBL REGIONS > Update Tables. The system updates the table and the makes the summation parameter visible. Note: To update the summation parameter, you must use Update Tables.
To create the following example, create a table for the exploded assembly, and obtain a summation of the parameter symbol value ``asm.mbr.cost'' in the fourth column. At the system prompt, type the summation parameter name as cost_sum. From the keyboard, type &cost_sum in the second cell in the last row, and type Total Cost in the first cell in the last row. After you
update the table, the summation appears as 60.000. To create the ``total cost/part'' column, add the repeat region relation total_cost_per_part = rpt_qty * asm_mbr_cost.
Note: For quantities greater than one for any particular part, you must have a ``cost/part'' column and a ``total cost/part'' column, as shown in this example.
You can show a summation parameter in notes just like any other drawing parameter. However, when adding or deleting summations of parameter values, the following rules apply:
If you delete a repeat region or table, the system deletes its summation parameter automatically. You cannot delete or modify summation parameters by choosing Parameters from the DWG SET UP menu. If you cannot add the report parameter values (for example, if the value types are nonnumerical), the system assigns the drawing parameter a value of ``***'' and displays it in that form. You cannot copy the summation parameter by using the Copy Table command in the TABLE COPY menu or by storing the table to disk.
do not enter a name, it retrieves the table, but ignores the parameter.
BOM Balloons
Using the BOM BALLOON menu, you can display BOM balloons for any model in a drawing or report that has a repeat region associated with it. You can show balloon notes for members of an assembly in a view so that they visibly correspond to a record in a repeat region containing BOM information. Each balloon contains a number that corresponds to that member's index number (the value of ``&rpt.index'') in the repeat region (by default), and can also contain a quantity for that member as well (the value of ``&rpt.qty''). Pro/ENGINEER updates the contents of the balloon note to reflect changes in the order or quantity of the corresponding records. It also updates BOM balloons to reflect the addition or removal of assembly components. When you are working with BOM balloon notes, the following restrictions apply:
BOM balloons are available only for non-nested repeat regions. Erasing or deleting balloon notes removes them from the display, but you can redisplay them by showing them. BOM balloons do not display on another view if you erase the view to which they are attached. You cannot modify the size of a quantity BOM balloon. However, you can modify a simple BOM balloon size by changing the drawing setup file options ``min_balloon_radius'' and ``max_balloon_radius'' (see Drawing Setup File Options for more information). You can show BOM balloons only for model components in an assembly. The system does not consider the spools and tie wraps used in cabling assemblies to be assembly model components, and you cannot assign BOM balloons to them even though you can display them in a table with a report index value. It does consider cabling harnesses to be assembly model components, and you can assign BOM balloons to them. BOM balloons are supported only when the model name is listed in the repeat region of a table using asm.mbr.name.
If the component that owned the BOM balloon no longer exists, the system deletes the balloon. If you suppress the component, it suppresses the balloon. If you replace the component with another component, and there is not already a balloon for the model that replaced the original component, the balloon becomes a balloon for the replacement component. The balloon's position on the drawing is not affected, but the leader attachment does change. If the replacement component already has a balloon, the system suppresses the balloon for the original component. It resumes it if some other component without a balloon replaces the replacement component.
Balloons can properly forward their attachments in this manner for automatic family table replacement. For the following situations, the system deletes the balloon for the replaced component (but you can show a new balloon in the usual manner):
Manual replacement Replacement by interchange Substitutions by simplified representations other than with a simplified representation of the same part
Note: These BOM balloon rules do not apply to quantity or custom BOM balloons.
The next figure shows how the system updates BOM balloons for ``ASM_1'' when using the sorting parameter symbol ``&asm.mbr.price'' to sort its repeat region instead (``price'' is a userdefined parameter). BOM Balloons for ``ASM_1'' Updated
Quantity BOM balloons display both the index of the assembly member and its quantity in the assembly. The first figure that follows shows the display of quantity BOM balloons for ``ASM_1.'' Notice that the index number is in the top half of the balloon and the quantity is in the bottom half.
Note: You cannot mix simple BOM balloons and quantity BOM balloons for the same repeat region; the balloons must all be of a single type.
In the second figure, the quantity for the ``pin'' part is redistributed among three balloons, each pointing to two occurrences of the model. Display of Quantity BOM Balloons for ``ASM_1''
You can only show BOM balloons on views to which the repeat region is associated. You cannot switch BOM balloons shown on one simplified representation to a different simplified representation. After a simplified representation is attached to a repeat region, if you change the simplified representation (that is, substitute a part with a simplified representation), all references remain with it, including the following: o Balloon attachment o Parameters
o o o
Note: To set the default arrow style for BOM balloons in reports, set the drawing setup file option ``def_bom_balloon_leader_sym'' (see Drawing Setup File Options, for more information).
2. Select the repeat region for which you want to change the BOM balloon type. The system highlights the region and the BOM BAL TYPE menu appears with the current type highlighted. 3. Choose Simple or With Qty, followed by Done/Return. 4. Choose BOM BALLOON > Show to redisplay the BOM balloons in their new type. If multiple models are present in the drawing or report, you must select the repeat region again for the new balloons to appear.
To change the default balloon symbol for a repeat region, choose Change Type from the BOM BALLOON menu and Custom from the BOM BAL TYPE menu; then select a new symbol.
How to Replace Any Individual Custom Symbol with Another Custom Symbol
1. Choose BOM BALLOONS > Alt Symbol; then select a balloon region. 2. Select quantity or custom balloons of the selected repeat region, or components; then choose GET SELECT > Done Sel.
3. From the GET SYMBOL menu, select a user-defined symbol. Any selected balloons change to match the selected symbol, and the system redisplays the new balloons using the selected symbol for any selected components. 4. For regions that use a user-defined symbol to display balloons, choose GET SYMBOL > Reg Default. The selected balloons revert to the default symbol of the region, and the system shows new balloons for the selected components using that symbol. Note: You cannot change individual simple-customized balloons to quantity-customized balloons, and vice versa. All balloons for any given region must be either quantity or simple balloons.