TeamcenterKnowledge

MBSE Integration Services for Integrating Modeling Tools

bhmPreSaveOperation API

This API generates an XML string that can be used as the input XML string for the Save API.

List<BHMOperationOutput> bhmPreSaveOperation(List<String> lstRootModelFullFilePath, String toolType)

Inputs

  • lstRootModelFullFilePath — Specifies the full path of the root model.
  • toolType — Specifies the behavior modeling tool, for example, MATLAB.

Outputs

The output is a list of BHMOperationOutput objects (com.teamcenter.behaviormodeling.common package). Each object corresponds to one of the input strings sent through lstRootModelFullFilePath.

BHMOperationOutput variable Description
OperationStatus Returns one of: OPERATION_FAILED, OPERATION_WARNING, OPERATION_SUCCESSFUL, OPERATION_SUCCESSFUL_WITH_INFO
message Specifies the cause of the API failure.

Note: The remainder of this topic's variable table (inputXML, outputXML, rootModelName, etc.) and any accompanying example could not be captured cleanly — the browser tooling's content filter redacted part of the page as it resembled cookie/query-string data. Nothing has been fabricated to fill the gap; the pattern of output variables is very likely the same as documented for the related bhmOpenOperation and bhmSaveOperation APIs (see companion files in this folder).

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1913857/xid720970 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)