Skip to main content

Revit Best Practices

This guide covers Revit-specific prompting techniques and common workflows with Algomim.

Key Concepts

Active View Matters

Many Revit operations are view-dependent. The AI operates on your currently active view. Make sure you have the right view open before sending a command.
Switch to "Level 1 - Floor Plan" first,
then color all rooms by department.

Transactions and Undo

Every script the AI executes runs inside a Revit transaction. This means you can undo any operation with Ctrl+Z (or the Revit Undo button).
Save your work before trying complex operations. Use Ctrl+Z to undo if something doesn’t look right.

Common Workflows

Querying Elements

List all walls in the project with their type, length, and level
Count the number of doors on each level
Find all rooms with area less than 10 sqm

Creating Elements

Create a wall from (0,0) to (10,0) on Level 1
using "Generic - 200mm" wall type, 3m height
Place a "M_Single-Flush" door at the midpoint
of the wall I just created

View Operations

Create a 3D view named "South Elevation 3D"
oriented from the south
Create a section view cutting through grid line A
Export the active view as an image

Color Coding

Color all rooms by their "Department" parameter:
- "Administration" = light blue
- "Engineering" = green
- "Sales" = orange
Use view filters so the coloring persists.
Override the surface color of all structural elements
to red in the active view

Schedules

Create a door schedule with these columns:
- Level
- Mark
- Width
- Height
- Fire Rating
Sort by Level, then by Mark.

Compound Structure

Duplicate the "Generic - 200mm" wall type,
name it "Exterior - Insulated",
and set its layers to:
- Finish 1: Brick, 90mm
- Thermal/Air Layer: Air gap, 25mm
- Core: Insulation, 100mm
- Core: Concrete Block, 190mm
- Finish 2: Plaster, 15mm

Tips for Better Results

Instead of “the 200mm wall”, say "Generic - 200mm" (exact type name). Instead of “the room name”, say the "Name" parameter. Use the exact names as they appear in Revit.
Always mention the target level: “on Level 1”, “associated with Level 2”. Don’t assume the AI knows which level you’re working on.
When creating elements, provide coordinates in Revit’s internal units (feet) or specify metric: “from (0,0) to (10,0) in meters”.
For complex operations, ask the AI to list what it would change before making changes:
What walls on Level 2 would be affected if I change
all "Generic - 200mm" to "Exterior - Brick"?
List them without making changes.

Example Prompts

Beginner

List all levels in the project
How many rooms are in the model?
Show me a screenshot of the active view

Intermediate

Create view filters to color-code walls by their
Fire Rating parameter in the active view
Create a window schedule grouped by level showing
type, width, height, and count

Advanced

Scan the model for potential issues:
1. Rooms without a Department value
2. Walls shorter than 30cm
3. Doors not hosted on any wall
Report the results as a summary.
Create a section view for each unique wall type,
cutting perpendicular to the wall midpoint.
Name each section "Section - {WallTypeName}".