Import QIF or STEP AP242
importBring a QIF 3.0 or STEP AP242 file into the model (the format is detected from its text). Products become part defs with their features as items and the datums, geometric tolerances and toleranced sizes as profile metadata; QIF results become @Measured on the characteristic with the same id. What the model already states is matched (by id, feature or value) and not added twice. Output: { format, ok, message, file, added, matched, measured, notes, matching, ops, text }: text is the model after the import, ops the same change as edits.
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": {
"text": "<text>",
"file": "<file>",
"file_name": "<file_name>"
},
"name": "import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The QIF (XML) or AP242 (Part 21) file's text. | |
| text | Yes | The model to import into (SysML v2 text); empty for a new model. | |
| owner | No | Instance path or qualified name the imported root products are used in (default: the system). | |
| file_name | Yes | The file's name, recorded as the source. |