Question
Animation is working in Preview and not in Hololens Gen 1
Hi,
I'm using Hololens Gen 1. Animation is working in preview but not in Hololens. Could you please help me to find out the solution for this.. I'm using below code.
$scope.reset1 = function () {
$scope.$applyAsync(()=>{angular.element(document.getElementById('model-1')).scope().reset();});
};
$scope.sequence1 = function () {
$scope.reset1();
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/new_folder_High/l-Creo 3D - backwash.pvi';
//blink = 25;
$timeout(function () {
$scope.$applyAsync(()=>{$scope.setWidgetProp('model-1', 'currentStep', 1);});
//further delay for a 0.5 sec to be sure that the step is set and then play
$timeout(function () {$scope.$root.$broadcast('app.view["Home"].wdg["model-1"].svc.play'); }, 500);
}, 500);
//$timeout(function () { $scope.view.wdg['toggleButton-4']['pressed']=false;},blink);
$scope.view.wdg['underdrains'].visible=false;
$scope.view.wdg['Integralmedia_support'].visible=false;
$scope.view.wdg['3DImage-3'].visible=false;
$scope.view.wdg['backwash'].visible=true;
$scope.view.wdg['engineeredmedia'].visible=false;
Developed with voice control. in that event i have called like this,
viewCtrl.sequence1();

