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

Display the next step name from Creo Illustrate

SOLVED
AS16
Amethyst

Display the next step name from Creo Illustrate

Hi, 

 

Need advise for my problem regarding my concern on displaying the next step instruction from Creo Illustrate. I need Vuforia to display the current instruction and the next instruction when user click on button. For now, the current step instruction are being displayed, but now I have to display also the next instruction. 


Hope anyone can advise me on this matter. Really appreciate it!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Display the next step name from Creo Illustrate

Hi,

 you can use the following JS:

var instruction = '';
$scope.$on('newStep', function(evt, arg) {
  instruction = arg

});
$scope.UpdateInstructions = function() 
{
  $scope.app.params.StepText = instruction; 
};
  1. Call  ‘UpdateInstructions’ from the ‘Play Started’ event of the model
  2.  You must have ‘StepText’ application parameter
  3. Bind ‘StepText’ to a label showing instructions on the UI

I hope that helps.

View solution in original post

5 REPLIES 5

Re: Display the next step name from Creo Illustrate

Hi,

 you can use the following JS:

var instruction = '';
$scope.$on('newStep', function(evt, arg) {
  instruction = arg

});
$scope.UpdateInstructions = function() 
{
  $scope.app.params.StepText = instruction; 
};
  1. Call  ‘UpdateInstructions’ from the ‘Play Started’ event of the model
  2.  You must have ‘StepText’ application parameter
  3. Bind ‘StepText’ to a label showing instructions on the UI

I hope that helps.

View solution in original post

Re: Display the next step name from Creo Illustrate

That is a very helpful solution. But it only provide the step name and (current step / total steps)

Is there a way to read the value of the 'step_description' parameter from the .pvi file?

 

Thanks in advance!

 

Cheers

Marco

(Presales) Senior Technical Consultant @ INNEO Solutions GmbH (Germany)
Tags (1)

Re: Display the next step name from Creo Illustrate

I guess it not feasible right now hence the .pvi is embedded in the PVZ file.

Easy way to accomplish this by far would be copy those description to an object/json outside of the PVZ for further usage.

 

Really looking forward that Vuforia Studio would have this capability someday, along with Annotations.

 

regards,

ClarK

Re: Display the next step name from Creo Illustrate

Thanks Clark for the answer.

Hope for the next updates.

 

Cheers

Marco

(Presales) Senior Technical Consultant @ INNEO Solutions GmbH (Germany)
Tags (1)

Re: Display the next step name from Creo Illustrate

Hi @sebben,

 

Thanks for your help. 

Announcements
Join an
AR Working Group!

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