Hi everyone,
I'm trying to set up an interactive Solidworks Co-Simulation and want to drag/move several components of my assembly. The goal is to use an external software for the kinematics calculation and Solidworks for visualization and collision detection.
It all works fine with one body. However, I have problems moving several objects using the drag operator. I couldn't find any documentation or example how to do it, AddComponent seems only to work for the first object. I found a solution by creating a dedicated drag operator for each object and sequencially start and stop drag. Unfortunately this causes unaceptable performance problems... Same happens for setting the transforms directly.
Is there a better way to move several parts according to their mates?
I appreciate any hints and ideas on this topic!
Markus
SolidworksApi macros