Skip to main content
12-Amethyst
August 4, 2022
Question

Animation is working in Preview and not in Hololens Gen 1

  • August 4, 2022
  • 1 reply
  • 1325 views

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,

@CatMcc @sdr4433 

 

viewCtrl.sequence1();

 

1 reply

17-Peridot
August 9, 2022

Hello,

 

  • Can you collect the Vuforia View log file in Hololens 2 when reproducing the issue and share it here ?

            The idea is to find an error reported in it who can explains this problem.

 

Best regards,

Samuel

12-Amethyst
August 17, 2022

For security reason i may not able to share the log file here. Shall i share in personal message?

 

@unknown @sdidier 

17-Peridot
August 18, 2022

Hello,

 

In such case, the best is to open a case to Technical Support because data is protected by a strong process.

It is evaluated internally at PTC regularly.

With PTC Community, we don't have a such control on data.

 

Send me a private message with the case number with the forum.

 

I will have a look to the case.

 

Best regards,

Samuel