Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi,
I am also having issue with playing multiple figures/sequences in Hololens. This would be reasonable for service procedures..
Is it still not possible? Any news or workarounds? 🙂
Regards,
Bojan
Solved! Go to Solution.
Hi Bojan,
Yes, it worked for me. I used the below JS function in Home.js and called it under an Application Event.
$scope.ChangeSequence = function(seq_name)
{
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - ElbowMotorReplacement.pvi';
$timeout(function() {
$scope.$broadcast('app.view["Home"].wdg["model-1"].svc.playAll');
$scope.$applyAsync()
}
, 2000);
};
You would have to write separate functions for each sequence and link them in the Application Events as shown above.
Hi,
A workaround to play multiple sequences is - extract the .pvi files and upload them separately on to the project. Once uploaded, use the resource path to activate the requested sequence:
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - ... .pvi';
Hope this helps!
Hi ytella,
I know for sure that this works for mobile experiences.
I tried this also for hololens but I am not able to play sequence.. did it work for you?
Under app events and JS for gestures I used: $scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/bobcatv43_Low.pvz/l-Creo 3D - Figure 1';
I also bind this gesture to model with play all but no sucess.
BR,
Bojan
Hi Bojan,
Yes, it worked for me. I used the below JS function in Home.js and called it under an Application Event.
$scope.ChangeSequence = function(seq_name)
{
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - ElbowMotorReplacement.pvi';
$timeout(function() {
$scope.$broadcast('app.view["Home"].wdg["model-1"].svc.playAll');
$scope.$applyAsync()
}
, 2000);
};
You would have to write separate functions for each sequence and link them in the Application Events as shown above.