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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Vuforia, Thingworx, and Windchill workflow integration

MA8731174
14-Alexandrite

Vuforia, Thingworx, and Windchill workflow integration

hey @GianVal if you have already done with this connectivity would you please give some feedback or write a procedure in steps to achieve this task... from your valuable time. 🙂

 

My usecase is that i have different PVZ (ilu ) files in windchill and what i want is that to dynamically assign my model in vuforia studio this pvz file so that customer can see animation by playing it. I dont want to upload every time the pvz file in vuforia studio. I want this process to work dynamically. I have been working on thingworx ( NOT THINGWORX NAVIGATE  ) and vuforia studio since 1.5 years. Would you please let me know about it that how can i achieve this task so that our customer can get the pvz files in experience from windchill.  I have read a quite few docs but its not very clear. 

1 REPLY 1

Hi @MA8731174,

I found that old post without an answer. Possibly is the topic obsolete ... but still want to provide an answer

 I am not expert in  Navigate and worked in the past with Windchill only partically but will try provide an answer so far I understand the issue from the TWX and Studio view point.

-when the problem is that you have Vuforia Studio Project where you use some model published. 

- there are 2 different approaches possible

   - override the experience using REST api e.g. curl -

        That will require that when some Windchill  cad model (with dependencies) will updated -modified then the CAD Windchill objec EPMDocument will go to be vizualized by the worker. - the tool for the visualization what coould bu customized  // refer windchill customization guide https://www.ptc.com/en/support/article/CS60345   e.g. chapter Customizing Windchill Visualization Service in Windchill cusomization guide 12.1.1.1 on page 1469 wher eis some to doPublish() call where you can add any required  addtional actions...If you need more details how  to do that you need to contact the Windchill cusomization TS team or to post that in the Windchill custo communty

Fro example . you can copy the pvz to override some pvz file in a template and then e.g. using CURL call to pubish that project to the server (need admin right for the ExpericeService /and the server where that is runned. To update an project you can use some command like that:

curl -X PUT -u user:password -H "X-Requested-With: XMLHttpRequest" -F "File=@MyProject.zip"  https://localhost:2019/ExperienceService/content/projects/myproject
curl -u user:password -H "X-Requested-With: XMLHttpRequest" -F "File=@MyProject.zip"  https://localhost:2019/ExperienceService/content/projects?replace=true

 

 

 

The step what should be done are  accutally  :

  • in the the projectTemplate - replace the pvz file in the <VuforiaStudio Project>\src\phone\resources\Uploaded folder. 
  • make it as zip
  • publish /upate the project on the Experience Service - curl command as mentioned above

To  use the above described on way to addapt your system that will require some addtional work.

 

The other option, I see , is that descibed in the post https://community.ptc.com/t5/Vuforia-Studio/How-to-attach-a-Thingworx-Repository-file-to-the-Hololens/td-p/981031 and  but for PVZ. e.g.  if you have the published pvz's to add them to thingworx repository to specific folder and then to load them dynamical from the repository on Vuforia Studio on run time. Disadvatage , required a goot network connection to ES and also needs time to load the model/when model size is big, but otherwise  an advantage is that you can load a model only on required time depending on the user input (you do not need to have the whole list in Uplaod folder (let say 100 model) but in session the cusomer will select only 1 or 2 models to review...  and you can only load them models - via dynamic project. Also the json list could be load on runtime in the project e.g. https://community.ptc.com/t5/Vuforia-Studio/Getting-Videos-from-Thingworx-into-Vuforia-Studio/td-p/969190  the video project. That applied here to pvz object

 

I want to refer to the PTC Help  instructions for PVZ files
Create a File Repository in ThingWorx
Edit the Thing Template and Things
Update the Vuforia Studio Experience

Announcements

Top Tags