ATH Text > Parts count ATHENA Functions > Parts count
Command input:
ath_tzae
With this command you can search for attributes, block names or text in a drawing (or part of a drawing) according to a search pattern. The objects found are counted and inserted into the drawing as a table. Consequently, you have the possibility of determining the quantities of individual items in a quick and simple manner. You can export the parts table optionally with the command Table export to other programs (e.g. spread sheets) to use it as a parts list or order list.
Dialog box Parts count
db_ath_tzae
Dialog box section Search pattern
In the Search pattern input field enter the texts or character strings to be sought. Multiple search patterns must be separated with a semicolon. The texts may also include the place holder * for a character string or ? for a character. With the button Default you transfer the texts, block names or attributes into the Search pattern field by clicking. In this respect, the dialog box is temporarily closed and the input request follows:
Input request
Select pattern:
Select a text or block as the search pattern.
Examples of search patterns:
01
Finds all texts, block names and/or attributes with the value/name 01.
01*
Finds all texts, block names and/or attributes whose value/name begins with 01 and consists of any number of characters.
01;02
Finds all texts, block names and/or attributes with the value/name 01 or 02.
01?
Finds all texts, block names and/or attributes whose value/name begins with 01 and consists of three characters.
Dialog box section Search method
Here you specify whether the search is to be made for attributes, texts or block names. You can also activate a number of objects simultaneously.
Dialog box section Search area
Here you specify whether the routine is to search for the selected objects in the whole drawing or just in a part of it. Click the button Select area < and choose the objects to be searched to limit the search area.
Dialog box section Info
Click the button Parts count to start the counting process. The number of objects found is displayed below the button.
Dialog box section Output
Drawing Inserts the table into the drawing. An input request follows for insertion of the table or for updating an existing table.
Clipboard Copies the table to the Windows clipboard for use in other programs.
Settings Opens the Dialog box Table settings. Here, you can modify the configuration of the output table. You will find further information about tables in the section Table.
End of program
The dialog box is terminated with OK. Depending on the output setting, the table is inserted into the drawing or written to the clipboard. The settings in the dialog box are saved for the duration of the drawing session. Cancel closes the dialog box and no other action occurs.
Input request
Specify insertion point or [Replace/?]:
Use the mouse or enter coordinates to specify the insertion point for the infill. You can change between various insertion points by repeated pressing of the keys Shift+Ctrl.
Select the Option Replace if you would like to update an existing table.
With the option ? you call the help.
Option Replace
Select table or [?]:
Select the table which is to be updated.
Note
• You can search for ATHENA parts (e.g. standard parts, sheet metal section...) and count them. Use the Attributes option and choose an existing part with the Default < button.
• You can change the table settings with the command Modify object.
• 2D projections created with the command Projection objects are not counted more than once.