Robot Repair Sequence Project - selectionSequence function
- March 13, 2019
- 1 reply
- 2964 views
I just want to say thanks for all the help i got for this software !
Now move on my next problem ...
I'm doing the Fundamentals of AR Development course more precisely the Robot Service Project.
I folowed each step - Creating UI with the same ID - Binding everything step by step - Adding javascript as-is but unfortunatly is doesn't work. I verified the code and the selectionSequence Fundtion is not working. ID's are matching.
When i select a service the popup stay there and the bottom-nav-grip won't show.
Code used (SequenceList fuction work):
$scope.setSequenceList = function(){
$scope.app.params.sequenceList = [
{
"display":"Elbow Replacement",
"value":"app/resources/Uploaded/industrial_robot_1/l-Creo%203D%20-%20ElbowMotorReplacement.pvi"
}
,
{
"display":"Shoulder Motor",
"value":"app/resources/Uploaded/industrial_robot_1/l-Creo%203D%20-%20ShoulderReplacement.pvi"
}
]
}
$scope.setSequenceList();
$scope.selectSequence = function(){
console.log($scope.app);
if($scope.app.view.RepairSequence.wdg["sequence-select"].value){
$scope.app.view.RepairSequence.wdg["bottom-nav-grid"].visible = true;
$scope.app.view.RepairSequence.wdg["select-popup"].visible = false;
}
else {
$scope.app.view.RepairSequence.wdg["bottom-nav-grid"].visible = false;
$scope.app.view.RepairSequence.wdg["select-popup"].visible = true;
}
}

