Workspace#
- class ansys.result_explorer.core.Workspace(pb_obj: PBType, client: Client)#
Represents a workspace with viewports and solutions.
Methods
Workspace.assign_view(view[, wait])Assign a view to the first viewport in this workspace.
Workspace.create_viewport(viewport, ...)Create a new viewport as a child of the given viewport.
Workspace.delete_viewport(viewport)Delete a viewport from this workspace.
Exit fullscreen mode.
Save this workspace as a template file.
Workspace.import_from_template(client, path, ...)Create a workspace by importing a template file.
Workspace.set_fullscreen_viewport(viewport)Set a viewport to fullscreen mode.
Workspace.set_sync([camera, time_freq, ...])Update synchronization options for this workspace.
Workspace.viewport_at(row, column)Return the viewport at a grid position.
Return viewports as a grid of rows and columns.
Attributes
ID of the viewport in fullscreen mode, or empty string if none.
Unique identifier.
Arrangement of the viewports in this workspace.
Human-readable name.
Whether camera synchronization is enabled.
Whether legend synchronization is enabled.
Whether probe entity synchronization is enabled.
Whether probe location synchronization is enabled.
Whether time/frequency synchronization is enabled.
List of viewport IDs in this workspace.
List viewports in this workspace.