Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello,
is it possible to play multiple sequences in Hololens experience? I tried with following:
$scope.app.closedoors = function() {
var modelEle1 = angular.element(document.getElementById('model-1'));
$scope.view.wdg['model-1'].sequence = "Uploaded/l-Creo 3D - Figure 1.pvi";
$timeout(function() {modelEle1.scope().playAll();},1000);
$scope.$applyAsync();
}
$scope.app.locateissue = function() {
var modelEle1 = angular.element(document.getElementById('model-1'));
$scope.view.wdg['model-1'].sequence = "Uploaded/l-Creo 3D - Figure 2.pvi";
$timeout(function() {modelEle1.scope().playAll();},1000);
$scope.$applyAsync();
}
This works fine in preview and this works with mobile experience but it won't work with Eyewear project.
Best regards,
Juho-Matti
How did you get this to work in the preview? Did you invoke the functions closedoors() and locateissue() in the JS for Application Events?
Hello,
yes I used the Application Events for trigger those JS in Preview.
Br.
Juho-Matti
Thanks. But I too am facing the same problem as you have. It is working in Preview but not on the HoloLens.
Hey,
Can you explain why we are using this '$' for $applyAsync in this command:
$scope.$applyAsync();
It seems to be working in Preview if we remove the '$' symbol.