TeamcenterKnowledge

MBSE Integration Services for Integrating Modeling Tools

Configuring extensions

Update the TOOL-NAME_BHMIntegrationDefinition.xml file with information about the extensions. If you are configuring the concurrent modeling extensions, update the PROJECT_IntegrationDefinition.xml file.

For example, for integration with MATLAB, you can update the Matlab_BHMIntegrationDefinition.xml file as follows:

<Extensions>
 <Extension operationName="SAVE" extensionPoint="PRE_UI_ACTION" >
      <Impl type="JAVA" location="" name="com.teamcenter.matlabcustom.SaveCustom" />
    </Extension>
	<Extension operationName="SAVE" extensionPoint="PRE_CONDITION" >
      <Impl type="SCRIPT" location="" name="SAVE_PRE_CONDITION" />
    </Extension>
    <Extension operationName="SAVE" extensionPoint="PRE_ACTION" >
      <Impl type="BATCH" location="D:\temp" name="RunMe.bat" />
    </Extension>
    <Extension operationName="SAVE" extensionPoint="POST_ACTION" >
      <Impl type="JAVA" location="" name="com.teamcenter.matlabcustom.SaveCustom" />
    </Extension>
</Extensions>
  • operationName — Specifies the name of the operations that the extension point supports. The extension points support Save, Save as, Open, and Insert operations. The PRE_UI_ACTION extension supports only the Save and Save as operations.
  • extensionPoint — Specifies the name of the extension points such as PRE_UI_ACTION, PRE_CONDITION, PRE_ACTION or POST_ACTION.
  • implType — Specifies how the extensions are implemented. Can have the following values:
    • JAVA — Specifies that the extension is implemented in Java. The Java implementation must either implement the com.teamcenter.behaviormodeling.common.bhminterface.IBHMOperationsExtendable interface or extend the com.teamcenter.behaviormodeling.common.DefaultBHMOperationsExtendable class. The PRE_UI_ACTION extension point supports only Java as the implementation type.
    • BATCH — Specifies that the extension is implemented as a batch file.
    • SCRIPT — Specifies that the extension is implemented in the behavior modeling tool-specific script file.
  • location — Specifies the location of the batch file. You must set a value for this variable only when the implType is BATCH.
  • name — Specifies the class name when the implType is Java. The class must be in a JAR file named customjars that is located in the bhm folder of the Teamcenter installation. Specifies the name of the batch file when the implType is BATCH. Specifies the command ID of the script file when the implType is SCRIPT. The script file name corresponding to the command ID is defined in the MATLAB_BHMConnectorCommands.xml file.

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