Question
play sequence from button
two buttons placed in 2D and a model with 7 sequences loaded into resources
1.next
2.play
button 1 to load the sequence and button 2 to play the sequence. it works but I have to click them multiple times.
$scope.next = function(){
$scope.view.wdg['model-1'].sequence = "app/resources/Uploaded/l-Creo 3D - 2.pvi";
}
$scope.play = function() {
angular.element(document.getElementById('model-1')).scope().play();
}

