Making visible 3D label with JS
How to make a 3D label visible with a javascript ?
Thanks
~ Francois
How to make a 3D label visible with a javascript ?
Thanks
~ Francois
Please follow the below JS function to hide/show the 3D label:
$scope.hideLabel = function(){
$scope.view.wdg['3DLabel-1']['visible']=false; //Hides the 3D label
};
$scope.showLabel = function(){
$scope.view.wdg['3DLabel-1']['visible']=true; //show label.
};
You can write this code in home.js and make a call to the corresponding function. For example, in the above case provide the name of function under button click 'JS' space i.e., "hideLabel()" . So that when a button/widget is clicked it performs the action defined in the function.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.