Error Handling
- Last UpdatedJan 25, 2023
- 1 minute read
Where possible, the set functions will raise a handleable error for invalid parameters:
-
If InputCadFilePath doesn't exist.
-
If simplification level configured is incorrect
-
Import owner is not valid, or Current element (CE) is at an unsuitable element.
-
If SaveSimplifiedFile is FALSE and end user tries to set OutputFolderPat.
If a license checkout fails, simplification will return false, and an error summary can be queried.
If a simplification completely fails (for example: a corrupt CAD file), simplification will return false, and an error summary can be queried.
If a simplification complete and import ran into an error, import will return false and again a string summary can be queried.
Note:
At this stage we are using (130,11) messages with variable text.