AnsweredAssumed Answered

How to use FindTouchingFacePairs Method

Question asked by Sugisawa Yasutomo on Jul 7, 2020

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.

0x80010105 (RPC_E_SERVERFAULT))


How to use FindTouchingFacePairs Method?