cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Retrieving cad structure in lesser time

AP_10343008
15-Moonstone

Retrieving cad structure in lesser time

I increased execution time to 10

mins in thingworx. And i got all 10 level cad structure in 9 mins by using getStructure API WRS which had almost 40k cad docs.

 

Any other API is there to get all level CAD structure quickly?

ACCEPTED SOLUTION

Accepted Solutions

Instead of retrieving the entire CAD structure in a single API call, you can break it down into smaller batches. This approach allows you to retrieve a portion of the structure at a time, reducing the overall processing time. Rather than waiting for the API response synchronously, you can implement an asynchronous processing mechanism. This way, you can initiate the API call and continue with other tasks, periodically checking for the completion status. Once the API call is finished, you can retrieve the CAD structure.

View solution in original post

1 REPLY 1

Instead of retrieving the entire CAD structure in a single API call, you can break it down into smaller batches. This approach allows you to retrieve a portion of the structure at a time, reducing the overall processing time. Rather than waiting for the API response synchronously, you can implement an asynchronous processing mechanism. This way, you can initiate the API call and continue with other tasks, periodically checking for the completion status. Once the API call is finished, you can retrieve the CAD structure.

Announcements


Top Tags