Teamcenter 3D Viewer

0
Question: I'm trying to display a list of JT files fetched from Teamcenter for a specific ItemID. The list should be shown as a ListView. When a user clicks on a JT file, I want to open it in a 3D viewer. However, the 3D viewer supports only ModelDocument type, but I have JT files of type System.FileDocument. Context: The JT files are being retrieved successfully from Teamcenter for the specified ItemID. Error/Issue: I'm struggling to find a way to convert or pass the JT files of type System.FileDocument to the 3D viewer, which expects ModelDocument type. Example: Here's what I'm currently doing: Fetched the JT files from Teamcenter for the specified ItemID. Displaying the list of JT files as a ListView. When a user clicks on a JT file, I want to open it in the 3D viewer.
asked
2 answers
0

Hi,

 

Did you follow the documentation of the widget ? Configuration is a bit tricky, but the documentation is also precise :) 

https://docs.mendix.com/partners/siemens/3d-viewer-for-teamcenter/#getting-a-list-of-corresponding-models-from-teamcenter

 

Pay attention to the initialisation

https://docs.mendix.com/partners/siemens/3d-viewer-for-teamcenter/#initializing-on-app-startup 

answered
1

Use the microflow GetModelDocumentByTCItemRevision provided as part of the Viewer3D_TC module

answered