Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Click the button once to visible the 3D image and click again to hide.
How can I implement it with Vufortia?
Solved! Go to Solution.
Hi @ccss1 ,
with javaScript using a global variable this is easy to implement.
The variable should save the status of the current display.
Another option is to check simple the visibiltiy of the 3D Image
Example it could be something like :
$scope.MybuttonClickEvent = function()
{
if ($scope.view.wdg['3DImage-1']['visible'] == true)
$scope.view.wdg['3DImage-1']['visible'] = false;
else
$scope.view.wdg['3DImage-1']['visible'] = true;
}
Hi @ccss1 ,
with javaScript using a global variable this is easy to implement.
The variable should save the status of the current display.
Another option is to check simple the visibiltiy of the 3D Image
Example it could be something like :
$scope.MybuttonClickEvent = function()
{
if ($scope.view.wdg['3DImage-1']['visible'] == true)
$scope.view.wdg['3DImage-1']['visible'] = false;
else
$scope.view.wdg['3DImage-1']['visible'] = true;
}
