Skip to main content
14-Alexandrite
November 9, 2023
Solved

How to display Windchill CAD files on ThingWorx Flow

  • November 9, 2023
  • 1 reply
  • 6515 views

Hi Community, 

I have installed ThingWorx Flow and configured it with Windchill Server. For Testing purpose I tried creating a sample Workflow which will use GetViewables to retrieve windchill visualizations as 3D thumbnails. 

Could you please suggest how I can display this on ThingView Widget?

What should be next step to retrieve list of CAD Documents and Parts and display it on a ThingWorx UI.

 

Thanks,

Siddharth

 

 

 

Best answer by Velkumar

Hi @Siddharth_Jhs 

 

Disable Async in Workflow Webhook

Velkumar_1-1699595538445.png

 

Map URL to Workflow Output

Velkumar_0-1699595278878.png

 

Open WorkFlow Thing in Composer. Navigate to service, you can find your workflow name as service. You can get the URL by executing the service.

 

Since I don't have a proper example in my test windchill. I have mapped the part name as output.

Velkumar_3-1699595813234.png

 

/VR

1 reply

19-Tanzanite
November 10, 2023

Hi @Siddharth_Jhs 

 

You can map the URL to widget property "ProductToView"  to load the 3D Model

Velkumar_0-1699591940649.png

 

You can find all Thingworx Workflow as a Service in Workflows Thing 

Velkumar_1-1699592174242.png

 

You can use those services to show data in Thingworx UI

 

/VR

 

 

 

14-Alexandrite
November 10, 2023

Hi @Velkumar ,

Thanks for your response. In my previous queries you and ptc community have provided me solution on loading data on mashup using thingView widget. I am getting stuck how to transfer this url to ThingWorx mashup. Any best practice example available using flow in which I can query list of CAD documents via Flow and display on mashup for my internal demo.

 

Thanks,

Siddharth

Velkumar19-TanzaniteAnswer
19-Tanzanite
November 10, 2023

Hi @Siddharth_Jhs 

 

Disable Async in Workflow Webhook

Velkumar_1-1699595538445.png

 

Map URL to Workflow Output

Velkumar_0-1699595278878.png

 

Open WorkFlow Thing in Composer. Navigate to service, you can find your workflow name as service. You can get the URL by executing the service.

 

Since I don't have a proper example in my test windchill. I have mapped the part name as output.

Velkumar_3-1699595813234.png

 

/VR