You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am facing an issue with the modification of mesh groups (in the least something not logic or it is a simply a bug.)
I have two face groups, group_0 and group_1, with no coincident IDs in between.
I add an ID from group_0 to group_1, lets say ID=1 using the edit group option in the GUI, so now the ID=1 is in group_0.GetIDs() and group_1.GetIDs(), at this stage in the vtk scene, i can see that the groups are overlapped (as the face apears in 'two colors' at same time from group_0 and group_1). until here everything works okey.
now I remove the ID=1 from group_0 (so i do group_0.Remove([1]) ) if I have a look at the group_0.GetIDs() 1 is not there anymore (as exepcted). if I go to edit group in the GUI it does not shown in the list of nodes of the group either (as expected) BUT and here is the issue, if I display the groups in the VTK scene (hide them/re show them/ press F5 when VTK scene selected) this face (faceID==1) is still shown in the group_0. I tried also the classic salome.sg.updateObjBrowser() the face is still 'two colors' when showing the two groups. how can I update the VTK scene or is this a bug?
I also tested with salome.sg.Erase(salome.ObjectToID(i)) and then salome.sg.Display(salome.ObjectToID(i)) did not make any difference.
also in the GUI even if the faceID does not show in the list of faces of the group (when we use edit group on group_0) we can if we select it in the VTK scene hit remove (even if it is not in the list!) and when we apply it will then update the vtk scene correctly. this looks like there are some updates in the salome memory that is not updated when doing things in python (only partially)
The text was updated successfully, but these errors were encountered:
Hello,
I am facing an issue with the modification of mesh groups (in the least something not logic or it is a simply a bug.)
group_0.Remove([1])
) if I have a look at the group_0.GetIDs() 1 is not there anymore (as exepcted). if I go to edit group in the GUI it does not shown in the list of nodes of the group either (as expected) BUT and here is the issue, if I display the groups in the VTK scene (hide them/re show them/ press F5 when VTK scene selected) this face (faceID==1) is still shown in the group_0. I tried also the classic salome.sg.updateObjBrowser() the face is still 'two colors' when showing the two groups. how can I update the VTK scene or is this a bug?I also tested with salome.sg.Erase(salome.ObjectToID(i)) and then salome.sg.Display(salome.ObjectToID(i)) did not make any difference.
also in the GUI even if the faceID does not show in the list of faces of the group (when we use edit group on group_0) we can if we select it in the VTK scene hit remove (even if it is not in the list!) and when we apply it will then update the vtk scene correctly. this looks like there are some updates in the salome memory that is not updated when doing things in python (only partially)
The text was updated successfully, but these errors were encountered: