#### 6.10.2.7. UserDefinedData

`class compolyx.plot_data.UserDefinedData`(graph, obj, parent=None, display_data=None)

Bases: compolyx.plot_data.contour_data.ContourData

`show_user_text`

  Whether to show the user-defined text or not.

`spot`

  Not applicable to a user-defined plot

`user_data`

  Access to the user-defined data of the plot.

`user_element_centroids`

  Retrieve the centroids of the elements consistent with the current user element indices/labels.

`user_element_indices`

  Access the indices for the given data-scope.

`user_element_labels`

  Access the labels for the given data-scope.

`user_script`

  Body of the script to be executed is user_script_enabled is set to True

`user_script_enabled`

  Whether to run a custom script on update

`user_text`

  Access to the user-defined text of the plot.

Release 18.2 - © ANSYS, Inc. All rights reserved.