MBSE Integration Services for Integrating Modeling Tools
getMappedObjectMapForTcType()
This API retrieves all object mappings that correspond to a specific Teamcenter type (tcType).
The API iterates over all the object mappings. It populates a list of ObjectMappingType objects that correspond to the specified tcType. Once the list is populated, the function returns it.
public List<ObjectMappingType> getMappedObjectMapForTcType(String tcType, String applicationName) throws Exception
Input Parameters
- tcType — The Teamcenter type for which the object mappings need to be retrieved.
- applicationName — The application name to identify the integrating tool, such as MATLAB, ECAD, or Amesim. This value is used to identify the mapping file of the tool.
Returns
List<ObjectMappingType> — A list of ObjectMappingType objects containing the relevant mappings for the given tcType.
Exceptions
- EXCEPTION_OBJECT_MAPPING_NOT_FOUND — Thrown if object mapping is not found for some tool type.
- EXCEPTION_CIRCULAR_INHERITANCE — Thrown if circular inheritance is found.
Example
Consider the following object mappings:
<ObjectMapping type="PCA" behaviorType="MIXED" tctype="EDACCABase" extends="Design">
<ObjectMapping type="Design" tctype="EDACCABase" extends="PCAComp">
<ObjectMapping type="PCAComp" behaviorType="MIXED" tctype="Item">
<ObjectMapping type="EDABOMComp" behaviorType="MIXED" tctype="EDAComPart" extends="PCAComp">
For the given tcType of EDACCABase, the function will return the following object mappings along with their corresponding BHMElements:
<ObjectMapping type="PCA" behaviorType="MIXED" tctype="EDACCABase" extends="Design">
<ObjectMapping type="Design" tctype="EDACCABase" extends="PCAComp">
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.xid1913857/xid2307353 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)