Model.reset_elemsize_criteria#
- Model.reset_elemsize_criteria(elementsize)#
Adjusts the current quality criteria to the specified ideal element size.
The current quality criteria must be previously set. If the quality criteria was not set, the function creates current criteria adjusted to the element size using one of the following
interactive mode: Criteria from the quality index panel.
batch mode: Default quality criteria adjusted to the current
elementsize.In interactive mode, this function also resets the current values in the Quality Index panel.
- Parameters:
elementsize (double) – The double value of the ideal element size for the criteria to be set.
Example#
Set the element size of the elements to 15.0#import hm import hm.entities as ent model = hm.Model() model.reset_elemsize_criteria(elementsize=15.0)