> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scene

### *class* compolyx.Scene(graph, model=None, name='', id=None, title='', view=None, parent=None, active\_set=None)

Represents a scene.

### Attributes

| Name | Description |
| - | - |
| [`Scene.active_set`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.active_set) | Set of active entities. |
| [`Scene.background`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.background) | Background color. |
| [`Scene.background2`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.background2) | Background color 2. |
| [`Scene.camera`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.camera) | Camera settings. |
| [`Scene.changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.changed) | Status boolean. |
| [`Scene.continuous_pick_enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.continuous_pick_enabled) | |
| [`Scene.deformed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.deformed) | |
| [`Scene.descriptions_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.descriptions_changed) | Set to True if descriptions should be updated. |
| [`Scene.display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.display_data) | |
| [`Scene.event_snapshot`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.event_snapshot) | |
| [`Scene.fit_to_window`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.fit_to_window) | Reset the zoom of the window. |
| [`Scene.foreground`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.foreground) | Foreground color. |
| [`Scene.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.id) | |
| [`Scene.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.is_dict_item) | Indicates whether the object is an item in a dictionary. |
| [`Scene.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.is_list_item) | Indicates whether the object is an item of a list. |
| [`Scene.lighting_mode`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.lighting_mode) | |
| [`Scene.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.link_path) | Root path of the current node in the tree for links to this object. |
| [`Scene.logo_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.logo_type) | Logo type (“default” or “black”). |
| [`Scene.mode`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.mode) | Current ACP mode (preprocessing). |
| [`Scene.model`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.model) | |
| [`Scene.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.name) | Name of the object. |
| [`Scene.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.parent) | Parent object in the tree. |
| [`Scene.projection`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.projection) | Projection method ("parallel" or "perspective"). |
| [`Scene.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.root_path) | Root path of the current node in the tree. |
| [`Scene.scale_factor`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.scale_factor) | Scale factor of the deformed mesh. |
| [`Scene.show_contour_and_direction_in_front`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_contour_and_direction_in_front) | |
| [`Scene.show_draped_fiber_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_draped_fiber_directions) | |
| [`Scene.show_draped_transverse_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_draped_transverse_directions) | |
| [`Scene.show_edges`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_edges) | |
| [`Scene.show_element_selection_through_mesh`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_element_selection_through_mesh) | |
| [`Scene.show_element_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_element_type) | Highlight "shell" or "solid" elements, or use "automatic" to select solid elements if the object belongs to a solid model.Note: Only analysis plies have solid elements. |
| [`Scene.show_fiber_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_fiber_directions) | |
| [`Scene.show_global_coordinate_system`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_global_coordinate_system) | Toggle visibility of global coordinate system marker. |
| [`Scene.show_labeled_bounding_box`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_labeled_bounding_box) | Toggle visibility of labeled bounding box. |
| [`Scene.show_legend`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_legend) | |
| [`Scene.show_material_1_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_material_1_directions) | |
| [`Scene.show_measure`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_measure) | |
| [`Scene.show_mesh_silhouette`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_mesh_silhouette) | |
| [`Scene.show_minmax`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_minmax) | |
| [`Scene.show_normals`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_normals) | |
| [`Scene.show_orientations`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_orientations) | |
| [`Scene.show_ref_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_ref_directions) | |
| [`Scene.show_section_cut_plots`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_section_cut_plots) | |
| [`Scene.show_selected_mesh`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_selected_mesh) | Indicates whether to show/highlight currently selected Elements. |
| [`Scene.show_silhouette`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_silhouette) | Whether to show the silhouette of currently selected elements. |
| [`Scene.show_surface`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_surface) | |
| [`Scene.show_transverse_directions`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.show_transverse_directions) | |
| [`Scene.static_display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.static_display_data) | |
| [`Scene.static_plots`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.static_plots) | |
| [`Scene.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.status) | Status of the object. |
| [`Scene.title`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.title) | Scene title. |
| [`Scene.uptodate`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.uptodate) | Apply a view to the scene. |
| [`Scene.view`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.view) | Apply a view to the scene. |

### Methods

| Name | Description |
| - | - |
| [`Scene.connect`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.connect)() | |
| [`Scene.disconnect`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.disconnect)() | |
| [`Scene.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.find_parent)(type) | Steps up the tree and returns the first parent with given type. |
| [`Scene.get_display_data_for`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.get_display_data_for)(obj) | |
| [`Scene.save_snapshot`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.save_snapshot)(path\[, width, height, ...]) | Create a snapshot of the scene. |
| [`Scene.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.serialize)() | Serialize to Python string. |
| [`Scene.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.update)() | |
| [`Scene.update_direction_display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.update_direction_display_data)(entities) | Function synchronizes the following direction plots with the added/removed entities given: - "orientations" - "ref\_directions" - "fiber\_directions" - "draped\_fiber\_directions". |
| [`Scene.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.Scene.visit)(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |
