Page 1 of 1

Automatic Exploded View

Posted: Thu Apr 01, 2021 10:10 am
by torre91
Hey everyone,

I'm posting this message today in order to know if it would be possible to create a macro/script that will automatically generate an exploded view of an assembly just by clicking a button on SolidWorks or Solidworks Composer.

During my research, I found this macro (https://bit.ly/39uR4NS) which create multiple exploded view (all the same) of an assembly but in a (2D) plan without paying attention to the constraints. These are therefore unusable! You can try it on an assembly to understand fully what I'm talking about.

In fact, I aim to create with your help a macro/script that will be usable and which will pay attention to the constraints and be in 3D.

By the way, you will find below some functions that might be helpful:
- DragMethod (IDragOperator),
- CollisionDetectionEnabled Property (IDragOperator),

Thank you ! :D

Best regards