NumberFormat#

class ansys.aedt.core.visualization.post.field_data.NumberFormat(format_type='Automatic', width=4, precision=4)[source]#

Provides methods and variables for editing number format folder settings.

Parameters:
format_typeint, optional

Scale levels. Default is None.

widthint, optional

Width of the numbers space. Default is 4.

precisionint, optional

Precision of the numbers. Default is 4.

Methods

NumberFormat.from_dict(dictionary)

Initialize the number format settings of the field plot settings from a dictionary.

NumberFormat.to_dict()

Convert the number format settings to a dictionary.

Attributes

NumberFormat.format_type

Get the current number format type.