FileWriteResults#
- class ansys.meshing.prime.FileWriteResults(model=None, error_code=None, warning_codes=None, json_data=None, **kwargs)#
Results of file write operation.
- Parameters:
- model: Model
Model to create a
FileWriteResults
object with default parameters.- error_code: ErrorCode, optional
Error code if file write operation is unsuccessful.
- warning_codes: List[WarningCode], optional
Warning codes associated with the file write operation.
- json_data: dict, optional
JSON dictionary to create a
FileWriteResults
object with provided parameters.
Examples
>>> file_write_results = prime.FileWriteResults(model = model)
Methods
Print the default values of
FileWriteResults
object.FileWriteResults.set_default
([error_code, ...])Set the default values of the
FileWriteResults
object.Attributes
Error code if file write operation is unsuccessful.
Warning codes associated with the file write operation.