Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Is it possible to disable the gesture until all steps finished playing? Example, after the last step (step 10) in first view done playing, the gesture automatically enable.
Or is there any other solution to prevent from user skip the first view?
Thanks
Solved! Go to Solution.
Hi,
assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:
$scope.checkStep = function(){
if($scope.view.wdg["model-1"].currentStep == 10){
$scope.navigate("viewname");
}
}
Call the function from the click event of the button. It will only work if the current step is equal to 10.
Hi,
assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:
$scope.checkStep = function(){
if($scope.view.wdg["model-1"].currentStep == 10){
$scope.navigate("viewname");
}
}
Call the function from the click event of the button. It will only work if the current step is equal to 10.
Thank you so much