In the macro,I want to find the contact surface between two bodies．
If it is manual, I can use the automatic generation of contact sets that the solidworks simulator has.
The function corresponding to the above work seems to be the FindTouchingFacePairs Method.
And according to the reference, this function takes an Array of bodies and a variable of type int.
However, when I pass an appropriate int type variable and an array obtained by the GetBodies2 function, the following error occurs in my environment.
How to use FindTouchingFacePairs Method?