Highlight part when button pressed
- July 27, 2019
- 2 replies
- 3664 views
Hi,
I am trying to achieve functionality similar to the vuforia studio motorbike welcome experience. I want to be able to press a 3D image button, and have a section of my 3D model highlighted a different colour. There are three different sections that I want to have their own button.
My process so far has been: create 3 figures within Creo Illustrate, one highlighting each part. I then uploaded the .pvz to studio, along with the 3 .pvi files individually and did not select a sequence in the model widget.
I then added the following lines to my Home.js
$scope.firsthighlight = function() {
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - TestFigure1.pvi';
$scope.view.wdg["model-1"].svc.play = true;
with the function call firsthighlight(); in my click js for the image button.
This seems to do nothing and I'm not sure why, any help would be appreciated!
Thanks

