Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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!
Solved! Go to Solution.
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;
};
I hope that helps.
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;
};
I hope that helps.
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
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
Thanks Clark for the answer.
Hope for the next updates.
Cheers
Marco