Model.writecurrentqualitycriteria#
- Model.writecurrentqualitycriteria(file_name)#
Writes the current quality criteria to the specified file.
The current quality criteria must be previously set. If the quality criteria is not set, the function writes the criteria from the quality index panel (interactive mode) or the default quality criteria adjusted to the current element size (batch mode).
- Parameters:
file_name (hwString) – The path to the destination criteria (a quoted string).
Example#
Write the current criteria in the file “c:/demos/my_criteria.txt”#import hm import hm.entities as ent model = hm.Model() model.writecurrentqualitycriteria(file_name="c:/demos/my_criteria.txt")