7 Replies Latest reply on Jul 28, 2016 8:14 AM by Amen Allah Jlili

    selecting a hole face via API not working for some reason

    Danny Bradford


      I thought I might start a new post as it is more direct to the issue. Most posts concerning selecting a face have either users select the face but in my case I have the feature in my grasp and getting the child face. I have not seen any examples of this yet.


      Original post here:




      This is the core of the issue as I see it and I am at a loss. There is no reason this is not working:


      holeface = the_hole.GetFaces(0)


                  holesurf = holeface.IGetSurface




                  sel_entity = holeface


                  boolstat = sel_entity.Select2(False, 1)



      The first message box reports True which means I have the correct face in my grasp but the second message box reports False which means it did not select.


      Any help is GREATLY appreciated.