SDS2 Sheet Revision Registry in Report Forge

List every SDS2 detail, erection and gather sheet with its latest revision number, date and description, using a [-1] Python trick in Report Forge.

By BIM Flow AI2 min readReport Forge

A sheet revision registry, a list of every sheet with its current revision, is a document control staple. In Report Forge it’s one of the simplest reports you can build: two nodes. It also shows a handy Python trick for grabbing the latest item in a list, and how to iterate on a report without reloading all the data.

The registry shows drawing name, drawing type, revision number, revision date and the description of the latest revision.

Step 1: Select the drawings

Add a Select Drawings node and tick the sheet types to include: detail sheets, erection sheets and gather sheets.

Select Drawings with detail, erection and gather sheets ticked

Click Execute Step. On this job that’s about 300 drawings, so give it a minute.

Step 2: Create the report

Add Create Report. Because the Select Drawings step has already run, its outputs flow straight into the new node’s inputs, ready to drag into columns:

Column Value
Drawing Name {{ json.drawing_name }}
Drawing Type {{ json.type }}
Revision Number {{ json.revision }}
Revision Date {{ json.date_of_revision }}
Description {{ json.Revisions[-1].DESCRIPTION }}

Create Report with drawing name, type, revision number, date and description columns

Reordering columns

Forgot a column? We did: drawing type. Drag type into the drop area and it lands at the bottom. Grab the handle at the left of the row and drag it up under Drawing Name.

Dragging the Drawing Type column up into second place

The latest revision’s description with [-1]

Every drawing has a list of revisions, each with its own description. When you drag the description in, Report Forge uses the first item, Revisions[0]. But a registry needs the latest revision.

Python makes this easy: change 0 to -1. A negative index counts from the end of a list, so [-1] is always the last item, however many revisions the sheet has.

Step 3: Execute the step, not the whole report

Here’s a time-saver. Instead of Run Report, which would select all 300 drawings again, click Execute Step on the Create Report node. It already has its inputs, so it writes the report straight away. Choose the output folder, name it Sheet Revision Registry, and you’re done.

The result

The Sheet Revision Registry in Excel: drawing name, type, revision number, date and description

Because it’s a normal Excel table, standard filtering works. Filter Drawing Type to show only gather sheets, or only erection sheets:

Filtering the registry by drawing type in Excel

Keep the registry current

Revision registers go stale fast. Assign this report to the project in Report Forge Server and it runs every time the model changes, so the registry always matches the drawings.

Get this report

The Sheet Revision Registry is included in the free Report Forge report pack, and every report in the series ships with Report Forge. Want to try another output format? The production status dashboard exports to HTML and PDF.