create_line_based_element
Create line-based elements (wall, beam, pipe)
How to use it
create_line_based_element is exposed by the MCP Servers For Revit MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the create_line_based_element tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Servers For Revit
claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revitOther tools in MCP Servers For Revit (25)
Intelligent element querying tool for AI assistants
Analyze model complexity with element counts
Color elements based on a parameter value
Create dimension annotations in the current view
Create a grid system with smart spacing generation
Create levels at specified elevations
Create point-based elements (door, window, furniture)
Create and place rooms at specified locations
Create a structural beam framing system
Create surface-based elements (floor, ceiling, roof)
Delete elements by ID
Export all room data from the project
Get available family types in current project
Get elements from the current active view
Get current active view info
Calculate material quantities and takeoffs
Get currently selected elements
Operate on elements (select, setColor, hide, etc.)
Query stored project and room data
Display a greeting dialog in Revit (connection test)
Send C# code to Revit to execute
Store project metadata in local database
Store room metadata in local database
Tag all rooms in the current view
Tag all walls in the current view