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

Playing multiple sequences with Hololens

Highlighted

Playing multiple sequences with Hololens

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

4 REPLIES 4
Highlighted

Re: Playing multiple sequences with Hololens

How did you get this to work in the preview? Did you invoke the functions closedoors() and locateissue() in the JS for Application Events?

Highlighted

Re: Playing multiple sequences with Hololens

Hello,

yes I used the Application Events for trigger those JS in Preview.

Br.

Juho-Matti

Highlighted

Re: Playing multiple sequences with Hololens

Thanks. But I too am facing the same problem as you have. It is working in Preview but not on the HoloLens.

Highlighted

Re: Playing multiple sequences with 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.



Announcements
Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection