feature_xml_export
Exports a Creo feature's full element tree as XML so you can inspect its definition, edit values or reference IDs, and rebuild it; sketches are excluded.
Instructions
Creates/edits geometry in the running Creo 5 through the DreamFeatureApp plugin. There is no mirror tool: build symmetric shapes with symmetric extrudes, revolves or patterns. Units are mm and degrees. Parts are addressed by name (lowercase, no .prt). Model axes: FRONT is the XY plane (normal +Z), TOP is XZ (normal +Y), RIGHT is YZ (normal +X). Each feature call either ends with an active feature or is rolled back. Nothing is saved unless model_save is called. Check results with model_info (volume, bound_box) and preview_image.
Advanced. Return a feature's element tree as Creo XML (the full definition: type, values, references as PRO_XML_REFERENCE_ID). Read it to learn how a user-made feature is defined, edit values or reference ids, and rebuild it with feature_xml_create. Sketches are not included in the XML.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"feature_id": "<feature_id>"
},
"name": "feature_xml_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Part name without .prt | |
| feature_id | Yes |