cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How should I able to maintain its scaling after clicking on another button

rborude
1-Newbie

How should I able to maintain its scaling after clicking on another button

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

3 REPLIES 3
katte
1-Newbie
(To:rborude)

Rohit Borude​ Did you try binding the button click to the model reset?

rborude
1-Newbie
(To:katte)

giri​ Yes but it is also not working. Is there any other way?

motti10
5-Regular Member
(To:rborude)

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;

Top Tags