Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
I need help about the code below.
When I go to the next step I want to change the custom image from one to a default one (empty).
$scope.step6 = function(){
$scope.app.params.descrizioneAnimazione1 = "app/resources/Uploaded/Descrizioni/Immagine4-2.png";
$scope.app.params.descrizioneAnimazione2 = "app/resources/Uploaded/Descrizioni/Immagine5-2.png";
$scope.step7 = function(){
$scope.app.params.descrizioneAnimazione1 = '';
$scope.app.params.descrizioneAnimazione2 = '';
At the moment when I change the step the images remains the same as the previous step and I would like that if the step has no image as a source, I don't want to see any images.
Thanks in advanced!
Filippo
How about uncheck the Visible property of 3D Image Widget?
Thank you for the suggestion, but I want just to reset the default image (empty image).
If there is a possibility to do this.
As I tried.
If you assign blank to the src of a 3DImage like below
$scope.setWidgetProp("3DImage","src", "")
Nothing would happen.
However, if a blank PNG is assigned. The 3DImage would appear invisible.
$scope.setWidgetProp("3DImage","src", "app/resources/Uploaded/blank.png")