update_display_options#
- Viewport.update_display_options() Generator[TDisplayOptions, None, None]#
Batch display options updates in a single server call.
Suppresses auto-commit during the block and flushes all changes on exit.
- Yields:
DisplayOptionsThe display options object to modify.
Examples
>>> with viewport.update_display_options() as opts: ... opts.show_mesh_edges = True ... opts.result_options.deformation_scale = 2.5