T3LAB.REVIT/Modeling & Datum/ImageToDrafting

ImageToDrafting

Image to Vector

Converts raster images (JPG, PNG scans) into a Drafting View with native Revit vector lines (Detail Lines).

Ribbon:Modeling & Datum
Safety:Atomic Transaction
Revit:2020 – 2026

Interactive Demo

Live demo · UI from XAML
RAutodesk Revit 2025 - Snowdon Towers.rvt - Floor Plan: Level 1
FileArchitectureStructureSteelPrecastSystemsInsertAnnotateAnalyzeMassing & SiteCollaborateViewManageAdd-InsT3LabModify
Support
Standards & Families
Model & Datum
Rebar & Assembly
Annotation & Data
Views & Sheets
Properties
Floor Plan
View Scale1 : 100
Detail LevelMedium
DisciplineArchitectural
View Template<None>
Project Browser - Snowdon Towers.rvt
[-] Views (all)
[-] Floor Plans
Level 1
Level 2
Roof
[-] Ceiling Plans
Level 1
[-] 3D Views
{3D}
[-] Elevations
North
South
[+] Drafting Views
[-] Schedules/Quantities
Room Schedule
[-] Sheets (all)
A001 - Cover
[+] Families
[+] Groups
[+] Revit Links
Level 1 ×
ABCD123OFFICE101MEETING102CORRIDOR103OFFICE104LOBBY105WC106
1 : 100▣☼
Click to select, TAB for alternates, CTRL adds, SHIFT unselects.Main Model
⤢ Full screenSimulated Revit window. Click anywhere to try it yourself.

Detailed Documentation

Image to Drafting - User Guide & Reference

The Image to Drafting utility (Trace category) Raster-to-Vector conversion engine. Accepts images (JPG, PNG, BMP) or PDF drawings (using Ghostscript for PDF to BMP conversion), applies image processing (thresholding and interior erosion to thin outlines), traces outlines into SVG paths using Potrace, and converts them into Revit detail lines inside a new Drafting View..


1. Overview & Key Capabilities

The Image to Drafting tool is designed to improve workflow efficiency by automating standard tasks. Key capabilities include:

  • Raster-to-Vector conversion engine.
  • Accepts images (JPG, PNG, BMP) or PDF drawings (using Ghostscript for PDF to BMP conversion), applies image processing (thresholding and interior erosion to thin outlines), traces outlines into SVG paths using Potrace, and converts them into Revit detail lines inside a new Drafting View.

2. Detailed Step-by-Step Usage

Follow these instructions to use the tool in your active Revit session:

  1. Open Image to Drafting view converter.
  2. Load a drawing image file or select a page from a PDF document.
  3. Configure image preprocessing options: contrast threshold, outline thickness, and line thinning filters.
  4. Preview the traced vectors on the canvas.
  5. Specify Revit line style types and viewport scale.
  6. Click Convert to create detail lines on a new Drafting View.

3. Technical Specifications & Under the Hood

Revit API Integration

  • Key API Components: Raster image processing (threshold filters) and outline tracing using Potrace SVG vector generation. Generates drafting views and detail lines.
  • Transaction Handling: All modifications are packaged into a single Revit API transaction. If any error occurs, the changes are rolled back automatically to preserve model integrity.

[!TIP] Best Practice Tip: Use high-contrast black and white drawings to get the cleanest vector traces. Adjust the outline thickness slider to balance detail levels.

← DoorThresholdPointCloud →