Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi..I have a demo product presentation with hololenses. I would like to make a VR animation where the animation would be played without stopping.. Continus play - auto replay.
How can i make this in thingworx studio?
BR Matej
Here is a javascript function that will play the sequence and call itself again and again. In the angular.element line, change EnterModelStudioIDHere to be the Studio ID of your model. On the timeout line, change the 29000 to be the tie for the duration of your sequence. When you build your sequence, you'll want to build it such that it does what you want then undoes those steps to put the model back to it's original state.
$scope.PlaySequence = function() {
//This will play the sequence that is set on the model
angular.element(document.getElementById('EnterModelStudioIDHere')).scope().playAll();
//The time is in miliseconds
$timeout(function(){ $scope.PlaySequence(); }, 29000);
}