Diagnose an analysis error or warning
analysis_diagnoseUse when the analysis stops or warns ("DOF may be singular", "error norm is infinite / NaN", convergence not reached, run-time errors): pass the message text. It names the nodes and stages with free DOFs, the cause and the fix. For a general review of the model use model_health_check. Finds why a CIVIL NX analysis stopped or warned ("DOF may be singular", "error norm is infinite / NaN", "displacement abnormal", "has not satisfied convergence tolerance", "beam section temperature cannot be applied", run-time errors) or gives results that look like a mechanism. Pass the message lines in message (the API does not return them). The tool recognises the message and says what it means, then reads the open model and finds, node by node, the degrees of freedom nothing stiffens — only trusses / solids / plane-stress elements at a node (no rotation), only plates (no drilling rotation), every beam end released, a node hanging on an elastic link with no stiffness, a node with no element — and the parts that can move as a rigid body (a mechanism: a deck sliding on its bearings, a member spinning about its axis, a part hanging off a truss), each with what holds it and the fix (including the Main Control Data switches 'Auto Rotational DOF Constraint' and 'Auto Normal Rotation Constraint for plates'). The same scan runs at the end of every construction stage, so a stage that floats is named. It also runs the health checks that bear on the message (support adequacy, disconnected parts, release mechanisms, links, stage supports…), lists tension/compression-only parts when a case does not converge, and returns the support FAQ answers for the message. Without a message it scans the whole model. Read-only (GET /db). For a full model review use model_health_check.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analysis_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | Node numbers to examine (those in the message are taken automatically). | |
| stage | No | Construction stage to examine in detail (a stage named in the message is taken automatically). Default: all stages, five examples each. | |
| maxIds | No | Ids listed per finding. | |
| message | No | The analysis message(s) as CIVIL NX printed them, e.g. 'WARNING : NODE NO. 123 RZ DOF MAY BE SINGULAR'. Several lines are fine. |