Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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();
Hello,
The idea is to find an error reported in it who can explains this problem.
Best regards,
Samuel
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