Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I import a model, After that I assign one button & slider to that model.
When I clicked on button then Slider will be visible & based on slider moving value of scaling will be changed.
But what I want is,when I clicked on some other button then it should automatically come to its original scaling,
So how can able to do that so?giriMatthew Rice
Hi,
Why not store the original scale in an App Parameter?
When you "reset" it, just get the save value from the parameter.
Try : $scope.view.wdg['3DModel-1']['scale']=$scope.app.params.defaultScale;