delete_object
Delete a load, support, result, tracker, or keyword snippet from an analysis by path while confirming its expected name, so stale indexes delete nothing. Use after inspecting targets.
Instructions
Delete one object this server (or the user) added to the analysis: a load, support, result, tracker or keyword snippet. Only these paths are accepted: "Children[n]" (loads, supports, snippets), "Solution.Children[n]" (results) and "Solution.SolutionInformation.Children[n]" (trackers). The object's current name must equal expected_name, so a stale index (indexes shift when objects are added or removed) deletes nothing. Analyses, Analysis Settings, Solution, Solution Information, Initial Conditions and anything outside the analysis (named selections, mesh, contacts) are refused. Look first with list_scoping_targets or inspect_object. Args: path, expected_name, analysis_index
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expected_name | Yes | ||
| analysis_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |