Skip to main content
15-Moonstone
November 18, 2019
Question

Reposition Model into canvas

  • November 18, 2019
  • 1 reply
  • 1964 views

 

Hy,

 

Exists trough code to give the user the possibility to reposition the model as it happens when the device is shaken?

 

thnx

Giuseppe

 

1 reply

21-Topaz I
November 18, 2019

Hi @Giuseppe_Fiore,

 

is your question regarding to gesture pan, zoom scale with spatial target?

If yes in this case we can call the reset Gesture

...
$scope.$root.$broadcast("app.view['Home'].wdg['spatialTarget-1'].svc.resetGesture");
...

 or is the problem different?

15-Moonstone
November 18, 2019

 

I really meant the replacing of the model...

 

 

Inkedriposiziona_LI.jpg

thnx

Giuseppe

 

 

21-Topaz I
November 18, 2019

for replace I will udnerstand that the model  e.g. specific .pvz file behinde -  is replaced by other model (e.g. we have shown engine.pvz and now we will display e.g. motorassembly.pvz) . Or do you mean that the model disapper and you can  then try to set a new postion?  o, according your picture I believe , that you want to set it back to the mode where you can specify the plane surface for a new postion, right?