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

Uncheck 3D checkbox after next step being played

SOLVED
ASM
Regular Member
Regular Member

Uncheck 3D checkbox after next step being played

Hi,

 

I have a 3D checkbox and label of instruction. After the first step finished playing, user will check on the checkbox, the ✓ mark will be displayed then the second step will automatically being played. However, currently the checkbox will remain checked even though the second step playing. I want the checkbox to unchecked on the next step. 

 

Need advice regarding this issue.

 

Thanks. 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Uncheck 3D checkbox after next step being played

Here is, what I did:

1. place a 3d-button "next" and apply nextCheck(); in the js field

2. place a 3d-checkbox "3DCheckbox-1" 

3. write code in home.js:

$scope.nextCheck= function(){
$scope.view.wdg["3DCheckbox-1"].pressed=false;
}

 

Perhaps a typo has crept in? Please make sure that the naming is correct. 

View solution in original post

4 REPLIES 4

Re: Uncheck 3D checkbox after next step being played

Hi RahSyi,

 

do you recieve any errors in the browser's console?

I have tried it and two ways work:

1st: Use this code in js: $scope.view.wdg["3DCheckbox-2"].pressed=false;

2nd: drag click event on checkbox and choose "reset".

 

ASM
Regular Member
Regular Member
(in response to whity)

Re: Uncheck 3D checkbox after next step being played

Hi @whity ,

 

I didn't receive any errors. and I've tried both of the suggestion that you gave. Its not working for me. 

 

Can you please explain more details on how to do the suggestion that you gave correctly? I think I may doing it wrongly. 

 

Thanks.

Re: Uncheck 3D checkbox after next step being played

Here is, what I did:

1. place a 3d-button "next" and apply nextCheck(); in the js field

2. place a 3d-checkbox "3DCheckbox-1" 

3. write code in home.js:

$scope.nextCheck= function(){
$scope.view.wdg["3DCheckbox-1"].pressed=false;
}

 

Perhaps a typo has crept in? Please make sure that the naming is correct. 

View solution in original post

ASM
Regular Member
Regular Member
(in response to whity)

Re: Uncheck 3D checkbox after next step being played

Thank you for your help. Its working now. My mistake. 

Announcements
Join an
AR Working Group!

Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection