I applied a glue contact between two meshes and it said 'successfully found a pair' However the glue ptach has a red cross and the glue has an exclamation mark in the tree.
The most common cause of this is when some of the geometry in the pair doesn't have any mesh defined. Could that be the case here? Apex can't fully define the glue patch until the parts are meshed.
I have seen this before when the bodies share only a single point or vertex of "contact" as opposed to an edge or face. (see image). I have also seen this when 2 bodies are "glued" but are not meshed. this can sometimes happen when you are gluing midsurface shell meshes but also select the solids (which are likely not meshed). there are likely other issues as well. but these are 2 that i have seen.
I cant post any pictures as its a restricted item I'm working on. I have tried keeping only surfaces in the parts but it still failed. Does it matter if the two parts I'm trying to glue are in separate assemblies?
They can be in separate Parts, but they have to be in the same Assembly. Having said that, Apex shouldn't create the glue at all if they're under different Assemblies to start with - it should just give an error message. But if you created the glue first, then moved things into different Assemblies, then that would cause the glue to break and show the error icon.
Note that you can have an Assembly of Assemblies - so if you put your two current Assemblies inside a third, then the glue should go back to being valid.
They are under one large assembly, but even when I moved the surfaces and mesh to be in the same part, it didn't fix the error. I think it may be due to the geometry, as it is a complex fabrication, but I'm not sure.