Skip to main content
Create an automation that numbers elements according to your drawing requirements. Start with a simple rule, test it on a few elements, then adapt it for other situations.

1. Choose the numbering rule

Decide what to number, which parameter to change and how to determine the order. For doors, two useful approaches are:
  • Click order: number doors as you select them while the automation runs.
  • Room-based: derive door numbers from the rooms they belong to, using your naming convention.
Start with click order. Open your own Revit plan and identify a few doors to test.

2. Create the automation in chat

Start an empty Ideatura chat and describe the workflow:
Create an automation to renumber doors visible in the active Revit plan in the order I click them. Add a Start number input, defaulting to 901. Update each door’s Mark and advance the number only after a successful change. Ignore repeated clicks and clicks on other elements. Let me finish with Esc, keeping the changes already made. Skip numbers already used by other doors and report conflicts. Keep the report to updated doors and unresolved issues.
Review the generated automation and its Start number input before running. Start number set to 901 and Run control.

3. Pick the doors in order

Run the automation, then click each door itself, rather than its tag. Starting at 901, three successful updates produce 901, 902 and 903, provided those numbers are available. Clicking another element or a door already numbered in this run does not consume a number. Press Esc to finish. Changes already made are kept; doors you have not picked retain their existing values. Three picked doors numbered 901, 902 and 903 in Revit.

4. Check the numbers

This run updated three doors. A repeated pick did not advance the sequence, and pressing Esc kept the changes. The follow-up check confirmed that each new Mark was unique. Read the report, then inspect the values in Revit Properties and a door schedule. Confirm that the tags display the intended parameter and check for duplicate numbers elsewhere in the project. This example changes Mark. If your practice uses another field, name that exact parameter in your request and check that it is writable. Renumbering changes the door itself, so other tags and schedules using that parameter also update. Ask the automation to skip numbers already used by other doors. If you need an uninterrupted sequence, check that the range is available before starting; skipped numbers can leave gaps. Ideatura confirms three unique Marks and a locally saved project.

5. Develop other numbering rules

Doors by room. Define which adjoining room supplies the number, which phase to use and how to distinguish several doors serving the same room. For example:
Create a separate automation that numbers doors using the room they lead into. Use the room number followed by a suffix, such as 101-A and 101-B. Apply the numbering on Run, leaving doors with ambiguous or missing room assignments unchanged and reporting them for review.
Other elements. The same planning approach applies to room numbers, window Marks or a sequential value stored on walls. Specify the category, exact parameter, scope and order—for example, rooms along a circulation route or windows ordered along a façade. These require their own rules and testing; this example handles clicked doors.

6. Refine and save

Test each change on a small selection. Check the numbering, unchanged elements and any conflicts before expanding the scope. Save the checked automation with a clear name, such as Renumber doors by clicking or Number doors by room. Save your Revit project separately.