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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Bind application events with 3D model(hololens development)

lundha
6-Contributor

Bind application events with 3D model(hololens development)

I would like to bind events when developing for the Hololens. E.g make a Gauge visible with a hand gesture or voice command in the Hololens. However I do not get any services available when trying to bind it.(ref attachment)

1 ACCEPTED SOLUTION

Accepted Solutions
ytella
17-Peridot
(To:lundha)

Hi @lundha ,

As far as I know, the application events can be bound to a service to complete actions like playing a sequence. One of the ways to alter the gauge visibility is by defining a javascript function on Home.js and call it in the application event.

 

$scope.GaugeVisibility = function()
{
  $scope.view.wdg['3DGauge-1']['visible'] = true;
}

Screenshot_34.pngHope this helps!

 

View solution in original post

1 REPLY 1
ytella
17-Peridot
(To:lundha)

Hi @lundha ,

As far as I know, the application events can be bound to a service to complete actions like playing a sequence. One of the ways to alter the gauge visibility is by defining a javascript function on Home.js and call it in the application event.

 

$scope.GaugeVisibility = function()
{
  $scope.view.wdg['3DGauge-1']['visible'] = true;
}

Screenshot_34.pngHope this helps!

 

Top Tags