Desktop view and images / 桌面显示与图像
view_modelControl the desktop view and capture PNG images of bridge models or analysis results, including camera, rendering, labels, stages, units, and result contours.
Instructions
Control the desktop view and capture PNG images of the model or existing analysis results (控制桌面视图并截取模型或已有结果图像).
Choose request.operation for the presentation task:
set_view_angle, set_render, display_ids, activate_structure and reset_display control camera, shading, labels and visible entities.
switch_display_stage selects a modeling stage by name; change_construct_stage selects a results stage by integer index.
save_model_screenshot captures the view; plot_analysis_result draws a selected solved component. Use query_results for numerical values.
set_unit changes display units; tool input units remain as documented.
Defaults are assignments, not toggles: set_render(flag=true) requests solid shading; display_ids applies BOTH flags and an omitted flag hides that label family. set_unit sends both force and length units each time. A screenshot defaults to the iso camera; view_angle="current" preserves the camera. If applying a preset fails, the current view is captured and the reply is a saved-path warning even when return_image=true.
A connected desktop view is required. Display operations return a confirmation and change presentation only; edit_geometry and edit_construction change entities and schedules. The two image operations write PNG bytes to file_path on the MCP host and overwrite that path. Use a distinct path to retain an earlier capture. return_image=true normally returns MCP Image content; false returns a saved-path message. No solve runs and no previous view is restored automatically. Confirm the selected stage/component before treating a plot as evidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Choose operation and supply only its matching fields. Each branch retains its original defaults, units and validation; an operation's nested request stays nested (选择操作并按对应分支填写参数,保留原有嵌套 request). |