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
I want to create an AR experience starting from a remote pvz resource and not directly uploading the content.
Is it possible? how to?
many thanks
Solved! Go to Solution.
You can set model source in JS
$scope.view.wdg['model-4']['src']=<url>;
I have done it with pvz-files stored in the Thingworx server.
Per
You can set model source in JS
$scope.view.wdg['model-4']['src']=<url>;
I have done it with pvz-files stored in the Thingworx server.
Per
i'm getting errors embedding the URL. how to write it properly? can you provide me an example?
I entered the url as "https://<hostname>:port/Thingworx/<filerepos>/.....?appKey=jkhfsakjahfkj"
When I used Thingworx as filevault.
I tried to stream directly from Windchill but then I got issues on firewalls and other security rules. My phone was not connected to the network where the Windchill server was.
Per
I just tried using the public pvz https://github.com/PTCInc/StudioExamples/raw/master/3D-Guided%20Service%20Instructions/3D-Guided%20Service%20Instructions%20300/quadcopter301.pvz but it didn't work. why?
You have a CORS issues:
Access to XMLHttpRequest at 'https://github.com/PTCInc/StudioExamples/raw/master/3D-Guided%20Service%20Instructions/3D-Guided%20Service%20Instructions%20300/quadcopter301.pvz' from origin 'http://localhost:3000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://render.githubusercontent.com' that is not equal to the supplied origin.
Use Developer tools in preview to see this message.
this is why I used repositories in the connected Thingworx as file storage.
I extracted the pvz file from Windchill to Thingworx as part of an ordering-process of the experience. I also didn't want the experience to have direct contact with the Windchill server.