    

 ## On this page

  

 

 # ContourData

 Last update: 16.07.2026 

<a id="compolyx.plot_data.ContourData"></a>

### *class* compolyx.plot\_data.ContourData(graph, obj, parent=None, display\_data=None)

### Attributes

NameDescription[`ContourData.active`](compolyx.plot_data.ContourData.active.md#compolyx.plot_data.ContourData.active)Whether the plot is active or not; an inactive plot is not updated and it does not contain data.[`ContourData.active_display_data`](compolyx.plot_data.ContourData.active_display_data.md#compolyx.plot_data.ContourData.active_display_data)Returns a dictionary containing display data for this plot owned by the active scene.[`ContourData.all_display_data`](compolyx.plot_data.ContourData.all_display_data.md#compolyx.plot_data.ContourData.all_display_data)Returns a list of all display data classes in existence for this object.[`ContourData.changed`](compolyx.plot_data.ContourData.changed.md#compolyx.plot_data.ContourData.changed)Status boolean.[`ContourData.color_table`](compolyx.plot_data.ContourData.color_table.md#compolyx.plot_data.ContourData.color_table)[`ContourData.component`](compolyx.plot_data.ContourData.component.md#compolyx.plot_data.ContourData.component)The requested result component for a specific plot, for example s1 for the stress in the 1-direction.[`ContourData.components`](compolyx.plot_data.ContourData.components.md#compolyx.plot_data.ContourData.components)Return the possible component set on this plot type.[`ContourData.data_scope`](compolyx.plot_data.ContourData.data_scope.md#compolyx.plot_data.ContourData.data_scope)Data scope of the plot where results will be evaluated.[`ContourData.definition_id`](compolyx.plot_data.ContourData.definition_id.md#compolyx.plot_data.ContourData.definition_id)[`ContourData.description_changed`](compolyx.plot_data.ContourData.description_changed.md#compolyx.plot_data.ContourData.description_changed)Status boolean.[`ContourData.enabled`](compolyx.plot_data.ContourData.enabled.md#compolyx.plot_data.ContourData.enabled)Indicates whether the object is enabled.[`ContourData.eval_position`](compolyx.plot_data.ContourData.eval_position.md#compolyx.plot_data.ContourData.eval_position)The finite element position at which the results are given, for example centroid or nodal.[`ContourData.has_element_wise`](compolyx.plot_data.ContourData.has_element_wise.md#compolyx.plot_data.ContourData.has_element_wise)Whether the plot offers element-wise data.[`ContourData.has_ply_wise`](compolyx.plot_data.ContourData.has_ply_wise.md#compolyx.plot_data.ContourData.has_ply_wise)Whether the plot offers ply-wise data.[`ContourData.id`](compolyx.plot_data.ContourData.id.md#compolyx.plot_data.ContourData.id)ID of the object.[`ContourData.is_dict_item`](compolyx.plot_data.ContourData.is_dict_item.md#compolyx.plot_data.ContourData.is_dict_item)Indicates whether the object is an item in a dictionary.[`ContourData.is_list_item`](compolyx.plot_data.ContourData.is_list_item.md#compolyx.plot_data.ContourData.is_list_item)Indicates whether the object is an item of a list.[`ContourData.link_path`](compolyx.plot_data.ContourData.link_path.md#compolyx.plot_data.ContourData.link_path)Root path of the current node in the tree for links to this object.[`ContourData.locked`](compolyx.plot_data.ContourData.locked.md#compolyx.plot_data.ContourData.locked)Returns the locked status of the plot.[`ContourData.minmax`](compolyx.plot_data.ContourData.minmax.md#compolyx.plot_data.ContourData.minmax)Min and max value of current data.[`ContourData.minmax_last_query`](compolyx.plot_data.ContourData.minmax_last_query.md#compolyx.plot_data.ContourData.minmax_last_query)Min and max value of data of last query.[`ContourData.name`](compolyx.plot_data.ContourData.name.md#compolyx.plot_data.ContourData.name)Name of the object.[`ContourData.parent`](compolyx.plot_data.ContourData.parent.md#compolyx.plot_data.ContourData.parent)Parent object in the tree.[`ContourData.ply_offset_scale_factor`](compolyx.plot_data.ContourData.ply_offset_scale_factor.md#compolyx.plot_data.ContourData.ply_offset_scale_factor)Offset scale factor.[`ContourData.ply_wise`](compolyx.plot_data.ContourData.ply_wise.md#compolyx.plot_data.ContourData.ply_wise)Whether to plot ply-wise or element-wise.[`ContourData.requires_solution`](compolyx.plot_data.ContourData.requires_solution.md#compolyx.plot_data.ContourData.requires_solution)[`ContourData.root_path`](compolyx.plot_data.ContourData.root_path.md#compolyx.plot_data.ContourData.root_path)Root path of the current node in the tree.[`ContourData.scope_entire_model`](compolyx.plot_data.ContourData.scope_entire_model.md#compolyx.plot_data.ContourData.scope_entire_model)Whether the plot scope is the entire model or a subset defined by the data\_scope.[`ContourData.show_on_solids`](compolyx.plot_data.ContourData.show_on_solids.md#compolyx.plot_data.ContourData.show_on_solids)Whether to plot results on solid or shell elements.[`ContourData.show_ply_offsets`](compolyx.plot_data.ContourData.show_ply_offsets.md#compolyx.plot_data.ContourData.show_ply_offsets)[`ContourData.solution`](compolyx.plot_data.ContourData.solution.md#compolyx.plot_data.ContourData.solution)Solution underlying the plot.[`ContourData.solution_set`](compolyx.plot_data.ContourData.solution_set.md#compolyx.plot_data.ContourData.solution_set)Solution Set selection.[`ContourData.spot`](compolyx.plot_data.ContourData.spot.md#compolyx.plot_data.ContourData.spot)Whether to plot data at bot, mid or top of the layer or laminate.[`ContourData.spots`](compolyx.plot_data.ContourData.spots.md#compolyx.plot_data.ContourData.spots)Return the possible spot set on this plot type.[`ContourData.status`](compolyx.plot_data.ContourData.status.md#compolyx.plot_data.ContourData.status)Status of the object.[`ContourData.status_changed`](compolyx.plot_data.ContourData.status_changed.md#compolyx.plot_data.ContourData.status_changed)Boolean flag which is set to true in C++ when up-to-date status of object changes.[`ContourData.uid`](compolyx.plot_data.ContourData.uid.md#compolyx.plot_data.ContourData.uid)UID of the object.[`ContourData.updated`](compolyx.plot_data.ContourData.updated.md#compolyx.plot_data.ContourData.updated)Status boolean.[`ContourData.uptodate`](compolyx.plot_data.ContourData.uptodate.md#compolyx.plot_data.ContourData.uptodate)Whether the plot is uptodate.[`ContourData.vertex`](compolyx.plot_data.ContourData.vertex.md#compolyx.plot_data.ContourData.vertex)Raises an error if the object has been removed from the graph.### Methods

NameDescription[`ContourData.add_data_scope_entity`](compolyx.plot_data.ContourData.add_data_scope_entity.md#compolyx.plot_data.ContourData.add_data_scope_entity)(entity)Add 1 entity to the Data Scope of a plot.[`ContourData.clear_data_scope`](compolyx.plot_data.ContourData.clear_data_scope.md#compolyx.plot_data.ContourData.clear_data_scope)()Clears the complete data scope of a plot, that is all scope entities are removed at once.[`ContourData.display_data_create`](compolyx.plot_data.ContourData.display_data_create.md#compolyx.plot_data.ContourData.display_data_create)(\[parent\])Function for internal use, not meant for scripting.[`ContourData.find_parent`](compolyx.plot_data.ContourData.find_parent.md#compolyx.plot_data.ContourData.find_parent)(type)Steps up the tree and returns the first parent with given type.[`ContourData.get_data`](compolyx.plot_data.ContourData.get_data.md#compolyx.plot_data.ContourData.get_data)(\[visible, selected\])Get data of plot.[`ContourData.get_deformations`](compolyx.plot_data.ContourData.get_deformations.md#compolyx.plot_data.ContourData.get_deformations)(\[visible, selected\])Function used internally to query matching nodal deformations for a given plot.[`ContourData.get_element_indices`](compolyx.plot_data.ContourData.get_element_indices.md#compolyx.plot_data.ContourData.get_element_indices)(\[visible, ...\])Get element indices (ACP internal element numbers starting from 0) of plot.[`ContourData.get_element_labels`](compolyx.plot_data.ContourData.get_element_labels.md#compolyx.plot_data.ContourData.get_element_labels)(\[visible, ...\])Get element labels (element numbers as read from / written to mesh files) of plot.[`ContourData.get_full_description`](compolyx.plot_data.ContourData.get_full_description.md#compolyx.plot_data.ContourData.get_full_description)()This function returns information displayed together with the legend.[`ContourData.get_ply_offsets`](compolyx.plot_data.ContourData.get_ply_offsets.md#compolyx.plot_data.ContourData.get_ply_offsets)(\[visible, selected\])Returns the offset between plies and reference surface.[`ContourData.obj_exists`](compolyx.plot_data.ContourData.obj_exists.md#compolyx.plot_data.ContourData.obj_exists)()Checks if \_\_obj still references the c++ object (has not been reset to None by self.\_delete) and exists in the graph.[`ContourData.remove_data_scope_entity`](compolyx.plot_data.ContourData.remove_data_scope_entity.md#compolyx.plot_data.ContourData.remove_data_scope_entity)(entity)Remove 1 entity to the Data Scope of a plot.[`ContourData.serialize`](compolyx.plot_data.ContourData.serialize.md#compolyx.plot_data.ContourData.serialize)()Serialize to Python string.[`ContourData.serialize_create_function`](compolyx.plot_data.ContourData.serialize_create_function.md#compolyx.plot_data.ContourData.serialize_create_function)()[`ContourData.serialize_name_and_id`](compolyx.plot_data.ContourData.serialize_name_and_id.md#compolyx.plot_data.ContourData.serialize_name_and_id)()Serializes the name and ID.[`ContourData.serialize_properties`](compolyx.plot_data.ContourData.serialize_properties.md#compolyx.plot_data.ContourData.serialize_properties)()Serialize to Python string.[`ContourData.serialize_python_only_attributes`](compolyx.plot_data.ContourData.serialize_python_only_attributes.md#compolyx.plot_data.ContourData.serialize_python_only_attributes)()[`ContourData.update`](compolyx.plot_data.ContourData.update.md#compolyx.plot_data.ContourData.update)()[`ContourData.visit`](compolyx.plot_data.ContourData.visit.md#compolyx.plot_data.ContourData.visit)(visitor)Walk through the tree and let the visitor perform action on every descendant node.