Docs
Integrations

Title Blocks

Synchronise data between a drawing's title block attributes or drawing properties and the equivalent Lunr tags, so tags are populated automatically when a matching drawing is uploaded.

Overview

The Lunr title block feature allows data to be synchronised between a drawing's title block and the equivalent Lunr tags.

When a new drawing is uploaded with a matching title block, Lunr saves time by reading and populating the tags automatically. AutoCAD title blocks can also map a DWG file's drawing properties, the values held in the AutoCAD Drawing Properties dialog, as well as block attributes.

Title blocks therefore depend on the tags they map to, so define your Tags before setting up the mapping.

Select Title Blocks in the admin main menu. Reaching the page requires the Administration Pages or Manage Title Blocks access right. The page has two tabs, AutoCAD (the default) and Excel, which each list title blocks of that type.

Import and Export Settings

Two checkboxes above the list control the whole import and export mechanism, tenant-wide: Import title blocks enables importing title blocks from drawings, and Export title blocks enables exporting title blocks to drawings. Disabling either one turns off that half of the feature for every title block, regardless of the individual block's own settings.

Title Blocks settings page with the Import title blocks and Export title blocks checkboxes enabled, the AutoCAD tab selected, and an empty list that reads Map drawing attributes and properties to title blocks

Managing Title Blocks

Each row lists its Title Block / Mapping Name, a Properties badge where the block maps drawing properties, an Active or Inactive status, and, on the Excel tab, whether it is the Default set used when a project does not choose one explicitly.

Open a row's context menu, by selecting the three dots at the end of the row, for these actions:

  • Edit opens the block for editing.
  • Set to AutoCAD or Set to Excel moves the block to the other tab.
  • Export, on an AutoCAD block only, downloads the block as an .ini file.
  • Activate or Deactivate toggles whether the block is currently applied.
  • Set as Default, on an Excel block only, makes it the set applied when a project does not choose one. It is hidden once a block is already the default.
  • Delete removes the block, after asking for confirmation.

Select the checkbox on one or more rows to reveal bulk actions: Export to Ini (available only when every selected block is an AutoCAD block, and it starts immediately without a confirmation dialog), Toggle Active, and Delete. Toggle Active and Delete each ask for confirmation first.

Deleting a title block set is not blocked while it is still used for rendering. If you delete the organisation's default Excel set, Lunr reassigns the default to another remaining Excel set, or clears it to none if no Excel set remains, and rendition title-block extraction silently stops populating tags with no warning. Deleting several sets at once is less careful: if any selected set is an Excel set, Lunr reassigns the default to the first remaining Excel set even when the default set was not one you deleted, so check the default afterwards.

Adding a New Title Block

To add a new title block,

  1. Select the Add Block button.

  2. Enter a Block name. For ease of updating, give it the same name as the default title block in your drawing template.

  3. Select the Type, AutoCAD or Excel, matching the kind of file the block applies to.

  4. On an AutoCAD block, choose the Source of each row: Block attribute, Custom property, or Standard property. Enter the attribute or custom property name from your drawing template, or choose the standard property, select the equivalent Lunr tag from the Tag box, and choose a Sync Mode of Read & Write, Read Only, or Write Only. Select the Add Tag button to add additional matches.

  5. When you have finished, select the Add Block button to save the settings.

A block name must not already be in use by another title block; Lunr rejects a duplicate. Drawing attribute and property names must also be unique within the set.

Drawing Properties

The standard properties are Title, Subject, Author, Keywords, Comments, HyperlinkBase, LastSavedBy, and RevisionNumber. LastSavedBy and RevisionNumber are read only, so their Sync Mode is always Read Only. Excel blocks map block attributes only.

  • A custom property must already exist in the drawing. Lunr updates it and never creates it.
  • Property rows apply to every DWG file, whether or not the block named above is in it.
  • Reading a drawing needs the title block to be active. Writing to a drawing does not.
  • A new row applies to a drawing the next time it is rendered.
  • When a block attribute and a property feed the same tag, make one of them Read Only so they do not write each other's text back.
  • Lunr never clears a property because a tag has no value.

Add Title Block Mapping form for Standard Title Block with two mappings, a Block attribute DWG_NO to Drawing Number and a Custom property Title 1 to Title, both Read & Write, above the About drawing properties notes

Bulk import from a file

Select Import Blocks to bring in title blocks from an .ini file rather than adding them individually. Lunr accepts only .ini files. Importing a block with the same name as an existing block replaces that block's mappings, whereas Add Block refuses a duplicate name. Mappings to tags that exist are saved immediately. If an imported block maps to a tag that does not exist, Lunr skips that mapping, then opens a Resolve Invalid Mappings dialog listing each missing tag, with a searchable dropdown so you can remap it to an existing tag after the import has finished.

Editing a Title Block

To edit an existing title block,

  1. Open the context menu by selecting the three dots at the end of the row, then select Edit.

  2. Make any required changes and select the Save button.

Saving replaces the whole set of attribute-to-tag associations rather than merging your changes with the existing ones. Any association removed from the form while editing is deleted, not merely left unset.

On this page