Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
how can I repeat a sequence? JS code would be appreciated.
Many Thanks
Janos
Solved! Go to Solution.
I found a solution. This is able to play a sequence 10 times in all sec.
$scope.startseq = function() {
$scope.intervalPromise = $interval($scope.rotate, 1000, 10);
};
$scope.stopseq = function() {
$interval.cancel($scope.intervalPromise);
};
Hello,
Do you want to repeat a sequence completely or do you want to repeat a step?
I found a solution. This is able to play a sequence 10 times in all sec.
$scope.startseq = function() {
$scope.intervalPromise = $interval($scope.rotate, 1000, 10);
};
$scope.stopseq = function() {
$interval.cancel($scope.intervalPromise);
};
Very Nice!!!
I'll certainly use that later.
Great!!!