Skip to main content
14-Alexandrite
September 9, 2024
Question

Publish CAD Objects from Thingworx

  • September 9, 2024
  • 3 replies
  • 1891 views

Hi, 

 

Is there any custom API or way to publish the required cad files to get the additional representation from thingworx.

 

If any please help me to achieve this.

 

Thanks in advance.

3 replies

7-Bedrock
October 4, 2024

Hello ,

 

It would be a nice idea to to have this custom option

 

Thanks

Thangadurai  Ganesan

17-Peridot
November 21, 2024

@Keerthivarman ,
Can you provide some details on your use case, to help us better understand your request?

Thanks
pehowe

14-Alexandrite
November 22, 2024

Hi @PEHOWE 

 

For Example, take a cad part/asm/drw which contain any additional files (1), will appear in the view design files (2)

Keerthivarman_1-1732249015155.png

Keerthivarman_2-1732249112799.png

in my case the file is released and doesn't contain the additional files, I need an option to publish the file to get additional files for the specific cad part/asm/drw.

Keerthivarman_3-1732249424422.png

 

Snaps are shown for understanding purpose with OOTB apps, but we have a custom application built with similar kind of function. we need to implement the trigger/start creating representation for files that don't have the additional files from thingworx.

 

Thanks

Keerthi

 

17-Peridot
December 13, 2024

Hello @Keerthivarman ,

This is a question which needs to be directed at the Windchill Customization or Visualization teams.
Because there is already a service which is getting the first file, Making a copy of the service and changing the file identification information should return a second file. How that would be presented in the UI would need to be addressed.

In regards to testing the REST API call which gets the file, the tool POSTMAN allows you to test a request. The error messages are much more informative then what is provided in ThingWorx. Once you have the parameters verified, putting them into the ThingWorx Service is simpler.

 

Please let me know what information you need to move forward on this issue.

 

Regarads,

Pehowe

14-Alexandrite
January 22, 2025

Hi @PEHOWE 

 

Getting all file content (representations) from windchill using REST API is currently available but what I need here is that I need to trigger the publishing (create new representation) option from Thingworx side.

 

Thanks.

17-Peridot
February 10, 2025

Hello @Keerthivarman ,

In your last message, you indicated that you need to "trigger the publishing (create new representation) option"
Because I am unfamiliar with your environment, What change is the "trigger"? There needs to be some change to watch for or starts the process. Can you provide any details?

 

Thanks

Pehowe