AnsweredAssumed Answered

Selecting Faces for mates

Question asked by Dan Miel on Oct 23, 2008
Latest reply on Oct 27, 2008 by Dan Miel
I need to replace lots of parts in lots of assemblies. I have in mind to name some faces of the parts and use those faces for editing the mates. That way when I get ready to replace some bolts I'll name the threaded part "Thread" and use that for concentric mates. I'm having trouble when I try to select the face with the SelectbyidID2 using"Thread@Bolt-3@Assm ,FACE" It doesn't get selected. Another way I tried to select the face, was to traverse the faces until I found the name, then set Face to that face but that doesn't add the face to the selection for mating and I'm having trouble finding the correct selection code. I think it would be the same code needed when a face is selected and set using "Set Face = SM.getselectedobject5(1) ".
Problem two is that I have a program that goes through an assembly and finds invalid mates then gets the existing component to that mate but I haven't figured out how to get the face that the mate goes to.
I will sure appreciate any help with this.
Thanks
Dan Miel
2008 SP4

Outcomes