1 Reply Latest reply on Dec 15, 2016 3:08 PM by Oleg Bezyaev

    Get corresponding face from assembly

    Oleg Bezyaev

      How to get corresponding face for component in assembly wich is belong to pattern and have another configuration?

      Face2 temp = (Face2)partComponentAtAssembly.GetCorrespondingEntity(currentFace);
      

      return null

      Face2 temp = (Face2)assemblyDoc.Extension.GetCorrespondingEntity(currentFace);
      

      return null

      In attach SW 2016

       

      Code return not null, if part save in same config what be inserted in assy. If part config in pattern set to another = null.

       

      Upd: face object I get from traverce part on myBody.GetFaces() Not directly select by mouse.