I am doing a gravity simulation on an assembly to check the assembly is stable under gravity. I am using solidworks API to automate this process. For that I want to ground the base component (which will be taken as user input). Also while I am performing the motion analysis some parts tend to penetrate each other, although I selected all parts in the contact feature.
Please let me know how to solve these two problems