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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Sequence list load works fine in vuforia studio but not in view app

MA8731174
14-Alexandrite

Sequence list load works fine in vuforia studio but not in view app

Hello Community, So i start my experience and fetch the model from thingworx and then jump to new view and there i have this below code to show the sequences in the list but unfortunately it works perfectly fine in browser but not in view app. The view app is unable to show the list of sequences to select.. Can someone please see that what is a problem in the below code? or how can i resolve this issue. As you guys can see binding also in the below from model to show the sequences. The modelLoaded function is not getting executed and that is an issue.

@RolandRaytchev may be you have an idea...?

 

 

angular.element(document).ready(function () {
   
 
  $timeout(function () {

   
     $scope.setWidgetProp('model-1','src',$scope.app.params.modelPVZFile); 
     $scope.$applyAsync();  
    
    $rootScope.$on('modelLoaded', function() {
  
   
   $scope.view.wdg["spinner-1"].visible = false;
      
  
  
  console.log("Model and Sequence both are loaded!");
  
});
    
  
  
  

  

  }, 100);
  

  
})

 

 

MA8731174_0-1731317069871.png

 

ACCEPTED SOLUTION

Accepted Solutions
MA8731174
14-Alexandrite
(To:MA8731174)

sorry i forgot to add Model Target or Spatial Target. Thats why it was not working. this is solution

View solution in original post

3 REPLIES 3
MA8731174
14-Alexandrite
(To:MA8731174)

sorry i forgot to add Model Target or Spatial Target. Thats why it was not working. this is solution

Hi @MA8731174, that is a good point. The preview should simulate the experience behavior in Studio UI is not consitent enough so that  but its allow to preview the project when it does not have any  targets definition.  No errors or warning. The most functionality is working. That may lead sometimes not to detect that targets defintions is missed.2024-11-11_12-59-43.jpg

yes you are right! Thank you for supporting actively. 

Announcements

Top Tags