create_view
Create floor plans, ceiling plans, sections, elevations, and 3D views in a Revit model. Specify view type, name, and required parameters like level name for plans or section box for sections.
Instructions
Create a new view in the Revit model.
Supports floor plans, ceiling plans, sections, elevations, and 3D views. Floor plans and ceiling plans require a level name. Sections require a section box definition with origin, direction, and dimensions.
Args: view_type: Type of view — "floor_plan", "ceiling_plan", "section", "elevation", or "3d" name: Display name for the new view level_name: Required for floor_plan and ceiling_plan — the level to show section_box: Required for section — defines the cut plane: - origin (dict): {"x", "y", "z"} center point in mm - direction (dict): {"x", "y", "z"} view direction vector - up (dict): {"x", "y", "z"} up direction vector - width (float): Section width in mm - height (float): Section height in mm - depth (float): Section depth in mm ctx: MCP context for logging
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_type | Yes | ||
| name | Yes | ||
| level_name | No | ||
| section_box | No |