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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Retrieving cad structure in lesser time

AP_10343008
13-Aquamarine

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?

1 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.

Top Tags