*CE_ErrorSet
Assign a pre-defined error code to a connector.
Syntax
*CE_ErrorSet id error_code
Type
HyperMesh Tcl Modify
Description
This command assigns a pre-defined error to a connector.
Inputs
- id
- The ID of the connector.
- error_code
- The error code to assign to the connector. Valid values are:
- 0 - CE_ERROR_UNDEFINED
- 1 - CE_ERROR_PROJECTIONS_LACKING
- 2 - CE_ERROR_LINKS_UNRESOLVED
- 3 - CE_ERROR_INCOMPLETE_REALIZATION
- 4 - CE_ERROR_INCOMPATIBLE_FECONFIG
- 5 - CE_ERROR_NO_TEST_POINT
- 11 - CE_ERROR_LINK_LACKING_THICKNESS
- 51 - CE_ERROR_AREA_LACKING_MESH
- 61 - CE_ERROR_BOLT_HOLE_NOT_FOUND
- 62 - CE_ERROR_BOLT_HOLE_LACKING
- 63 - CE_ERROR_OVERLAP_1D_ELEM
- 71 - CE_ERROR_MESH_IMPRINT_INCOMPLETE
- 72 - CE_ERROR_MESH_IMPRINT_ACROSS_FEATURE
- 73 - CE_ERROR_MESH_IMPRINT_OVERLAP_WITH_ITSELF
- 74 - CE_ERROR_MESH_IMPRINT_EXTREME_CASE
- 75 - CE_ERROR_MESH_IMPRINT_MISSING_ELEMS
- 76 - CE_ERROR_MESH_IMPRINT_OVERLAP_WITH_OTHER
- 77 - CE_ERROR_LESS_HEXA_HEIGHT
- 78 - CE_ERROR_CUSTOM
- 79 - CE_ERROR_MESH_IMPRINT_FAILED
- 80 - CE_ERROR_NSM_PROPERTY_NOT_POSSIBLE
Examples
To assign error code 80 to connector ID 10:
*CE_ErrorSet 10 80
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.130