Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
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;
}
}
Solved! Go to Solution.
I did everything again from the project creation and it's working fine now.
I kept the last "bugged" version of the project so i can investigate more later. I don't want to repeat that error again.
Thank you
Hi @Subyforever ,
Thank you for sharing the screenshots! I see from the screenshots that the View name is 'Repair_Sequence'. Could you please change the view name in the below code and test the experience.
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;
}
}
Let us know if it helped to resolve the issue.
@ytella wrote:
Hi @Subyforever ,
Thank you for sharing the screenshots! I see from the screenshots that the View name is 'Repair_Sequence'. Could you please change the view name in the below code and test the experience.
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;
}
}
Let us know if it helped to resolve the issue.
Unfortunately it doesn't work.
First I changed the code to "Repair_Sequence"
Then I tried to rename "Repair_Sequence" from the view name to "RepairSequence" and keep the original script as is but same result.
I did everything again from the project creation and it's working fine now.
I kept the last "bugged" version of the project so i can investigate more later. I don't want to repeat that error again.
Thank you