revit_request_user_selection
Prompts a Revit user to select elements in the model, optionally filtered by category, for single or multiple selection with a wait timeout. Returns chosen elements to the AI agent.
Instructions
Proactively requests the user in Autodesk Revit to select elements. The HUD button 'Pick Elements' will flash and wait for user clicks.
Args: prompt: Instruction shown to user in Revit HUD (e.g. 'Select the room boundary'). categories: Optional list of category names to restrict selection (e.g. ['Rooms', 'Walls']). multiple: If False, single click picks element instantly. If True, user picks multiple elements and clicks 'Finish'. timeout: Maximum seconds to wait (default 90).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| prompt | Yes | ||
| timeout | No | ||
| doc_name | No | ||
| multiple | No | ||
| categories | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |