Tweak Operation Error Codes
From DocR21
This page lists the error codes for failures triggered when performing a tweak-based operation.
| Error code | Location | Description |
|---|---|---|
| LOP_BAD_BODY_TRANSFORM | lop.err | Body transform has shear component. This error would been encountered during api_offset_body if the input body transform has a shear component (non-uniform scaling). |
| LOP_BAD_BOX | lop.err | Invalid box supplied. User-supplied intersection box is invalid. |
| LOP_INVALID_API | lop.err | Deprecated API. User has tried to use a deprecated API. |
| LOP_LOOP_TYPE | lop.err | Cannot determine loop type. |
| LOP_NO_LUMP_LEFT | lop.err | No lumps left in body. This error is thrown when no lump remains in the body at the end of the tweak operation. |
| LOP_NOT_IMPLEMENTED | lop.err | Not yet implemented. |
| LOP_TWK_BAD_BODY_SUPPLIED | lop.err | Body has an edge with only one coedge. |
| LOP_TWK_BAD_EDGE_SUPPLIED | lop.err | Edge(s) supplied invalid, duplicate or from different bodies. User supplied edge(s) are either invalid, duplicate or belong to different bodies. |
| LOP_TWK_BAD_FACE | lop.err | Face(s) supplied invalid, duplicate or from different bodies. The face(s) supplied for tweaking are either invalid, duplicate, or belong to different bodies. |
| LOP_TWK_BAD_OP_ON_ATT | lop.err | Invalid operation on lop attribute. |
| LOP_TWK_BAD_SURFACE | lop.err | Invalid tool surface supplied. User-supplied tool surface for tweak is invalid. |
| LOP_TWK_BAD_VERTEX | lop.err | Vertex or vertices supplied invalid, duplicate or from different bodies. |
| LOP_TWK_COMPUTE_FAILED | lop.err | Tweak compute failed. |
| LOP_TWK_FREE_EDGE | lop.err | Free edge detected. |
| LOP_TWK_INTERNAL | lop.err | Internal error. Tweak operation has failed due to some internal algorithmic problems. |
| LOP_TWK_MULTIPLE_EDGE | lop.err | Multiple solutions for an edge. This error might be encountered if there are multiple equally valid solutions to an edge. |
| LOP_TWK_MULTIPLE_VERT | lop.err | Multiple solutions for a vertex. |
| LOP_TWK_NO_BLEND_EDIT_SF | lop.err | Blend edit unable to provide blend surface. |
| LOP_TWK_NO_BODY | lop.err | Local operation input does not belong to a BODY. |
| LOP_TWK_NO_EDGE | lop.err | No solution for an edge. This error is thrown when unable to solve for the new geometry of an edge. |
| LOP_TWK_NO_EDGE_SUPPLIED | lop.err | No edges supplied. This error is encountered if the user has not supplied any edge(s) while using api_tweak_to_body. |
| LOP_TWK_NO_FACE | lop.err | No faces supplied. User has not supplied any faces for tweaking. |
| LOP_TWK_NO_LOOP | lop.err | No loop through new edges and vertices. |
| LOP_TWK_NO_VERT | lop.err | No solution for a vertex. Unable to solve for the new position of a vertex. |
| LOP_TWK_NON_MANIFOLD | lop.err | Non-manifold edge detected. The body contains a non-manifold edge. Bodies with non-manifold edge (or vertex) cannot be used for tweak operations. |
| LOP_TWK_STACK_LIMIT | lop.err | Stack limit exceeded. |
| LOP_TWK_TOPOL_CHANGE | lop.err | Change in topology detected. |
| LOP_TWK_ZERO_LEN_EDGE | lop.err | Open edge with coincident vertices generated. |
| LOPT_BAD_BOX | lop.err | Invalid box supplied. User-supplied intersection box is invalid. |
| LOPT_FREE_EDGE | lop.err | Free edge detected. |
| LOPT_INTERNAL | lop.err | Internal error. The operation has failed due to some internal algorithmic problems. |
| LOPT_LAST_SHELL | lop.err | Only shell in body would be lost. This error is thrown when no shell remains in the body at the end of the tweak operation. |
| LOPT_NON_MANIFOLD | lop.err | Non-manifold edge detected. |
| LOPT_NOT_IMPLEMENTED | lop.err | Not yet implemented. |
| LOPT_TWK_BAD_OP_ON_ATT | lop.err | Invalid operation on lopt attribute. |
