I would like to add a 3D label or 3D image of an arrow that pops up right before a step of a sequence plays. My model has a sequence that shows assembly steps from different angles of the model and you can't see all of the steps from one view. I want to guide the user to rotate the model or walk around the model to a specific view and then press play to see the sequence from that view. Is this possible? Also would it be possible to then hide the arrow once the sequence plays and then have another arrow appear at the start of a new step? Thanks.
Solved! Go to Solution.
Yes this is definitely possible. You can achieve this a few ways. I did the following to get it to work:
$scope.showNav = function(){
switch($scope.app.params.currentStep){
case '1':
$scope.setWidgetProp('3DLabel-1','visible', true);
break;
case '2':
$scope.setWidgetProp('3DImage-1','visible', true);
break;
default:
console.log('in show Nav');
}
$scope.app.params.hide++;
}
$scope.hideNav = function(){
switch($scope.app.params.hide){
case 1:
$scope.setWidgetProp('3DLabel-1','visible', false);
break;
case 2:
$scope.setWidgetProp('3DImage-1','visible', false);
break;
default:
console.log('in hide Nav');
}
}
Call showNav() on the Play Stopped event of the model and hideNav() on the Play Started event
Yes this is definitely possible. You can achieve this a few ways. I did the following to get it to work:
$scope.showNav = function(){
switch($scope.app.params.currentStep){
case '1':
$scope.setWidgetProp('3DLabel-1','visible', true);
break;
case '2':
$scope.setWidgetProp('3DImage-1','visible', true);
break;
default:
console.log('in show Nav');
}
$scope.app.params.hide++;
}
$scope.hideNav = function(){
switch($scope.app.params.hide){
case 1:
$scope.setWidgetProp('3DLabel-1','visible', false);
break;
case 2:
$scope.setWidgetProp('3DImage-1','visible', false);
break;
default:
console.log('in hide Nav');
}
}
Call showNav() on the Play Stopped event of the model and hideNav() on the Play Started event
Thank you very much. It's works great.