How to Generate Drawing Index and Symbol Legend Reports
Fundamentals
The Drawing Index report for an Ebase project is a list of the drawings in the project. The information in the Drawing Index is obtained from the title block on each drawing.
The Symbol Legend report for an Ebase project is a list of all symbols used in drawings in the project. The information in the Symbol Legend is obtained by scanning all drawings for symbols, and cross referencing the block names against Elecdes symbol libraries and menu metadata.
The Drawing Index Report
The Drawing Index report is a DBF format table named <ProjectName>DrawingIndex.dbf. It contains one record for each drawing in your project.
The columns of each record contain the data from the attributes of the title block on the drawing. The attribute data is extracted by a one-for-one match between the attribute names and the column names in the Drawing Index database format report.
You can change the columns in the Drawing Index report. See How to Customise Report Formats.
Title Blocks
You can and should use your company's title blocks. Title blocks should contain attributes for all of the information that should be included in your Drawing Index. They may also contain attributes that are not included in the Drawing Index.
There can be more than one title block on each drawing containing Drawing Index information. There should not be any common attributes between multiple title blocks on one drawing.
If a drawing does not have an identifiable title block, then the record for that drawing in the Drawing Index will contain data in only the file name and path columns.
Title Block File Names
Title blocks are identified by a file name pattern. You can change this file name pattern to identify the title blocks used by your company.
If you use more than one title block, then they should be named in a consistent manner to facilitate matching to a file name pattern. For example "TitleBlock1" and "TitleBlock2" can both be identified by the filename pattern "TitleBlock*".
The Symbol Legend Report
The Symbol Legend is a DBF format table named <ProjectName>SymbolLegend.dbf. It contains one record for each symbol used in your project, and for each symbol, reports the count, the full paths to both horizontal and vertical orientations (as these are considered variants of the same symbol), and metadata about the symbol derived from a variety of sources (including the type, component type, style, category, and description).
A second report, <ProjectName>SymbolLegendByDrawing.dbf, contains the same information, but with symbols and their counts broken down by project drawing, rather than across the project as a whole.
Excluding Symbols from the Report, and providing custom symbol data
Ebase will look for a SymbolDetails.dbf file in the directories provided for user provided/customised files, or in the ELECDES subdirectory of your EDS installation. This file can be used to exclude certain symbols from the reports, or provide custom information for certain symbols that will be copied verbatim into the reports.
Before adding each symbol from your project to the report, Ebase will:
- Check for a record in SymbolDetails.dbf whose spec in the NAME field matches the found symbol name.
- If a matching record is found, checks if EXCLUDE is set to 1, and if so, omits the symbol from the report.
- If not excluded, merges any non-blank values from the record into the symbol record in the report.
The default SymbolDetails.dbf provided in the ELECDES subdirectory of your EDS installation contains exclusions for ancillary Elecdes symbols that would not be relevant in a typical Symbol Legend report, and also sets the preferred draw orientation for conductor symbols to vertical (LEGEND_ORI = 1, read by our sample DBF import configurations).
Procedure
-
Ensure each drawing has an appropriate title block.
You can insert a title block using the Insert Border function in Elecdes.
-
Save the current drawing, if it is currently open in a CAD session. This ensures that the drawing index function is not working with an old drawing file while the drawing session has new data.
-
Run EBASE.
-
Ensure your current EBASE project contains the required drawing files.
-
Under "Reports required", enable "Drawing Index and Symbol Legend".
-
Press the "Compile Reports" button.
-
As each drawing file in the project is processed a message will appear showing the drawing name and the size of the drawing file. Ebase caches unmodified drawings for speed. If drawings do not appear to be scanned on successive report generations, it is because they are cached.
During cache scans there is a possibility that the database engine will be busy. You will be displayed a message indicating this and given options to wait or cancel.
The following DBF report files will be produced in the project directory:
- <ProjectName>DrawingIndex.dbf
- <ProjectName>SymbolLegend.dbf
- <ProjectName>SymbolLegendByDrawing.dbf
You may use Database Editor to view database reports.
Drawing Index and Symbol Legend DWG sheets
If your project requires a Drawing Index and/or Symbol Legend in DWG form, you can add Drawing Index and Symbol Legend sheets to your project. These DWGs will contain tables generated from these DBF reports (including symbol graphics in the case of a Symbol Legend), which you can then periodically update from Ebase after generating reports.
Several sample table configurations and sheets are provided, that you can copy and edit if needed, to suite your desired border/titleblock and style.
