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 !
Best regards
- Board index CAD SolidWorks API
- Search
-
- It is currently Thu Jan 30, 2025 12:18 am
- All times are UTC-05:00
Automatic Exploded View
Programming and macros
Jump to
- Welcome New Members
- ↳ Welcome
- ↳ Forum Rules
- CAD
- ↳ CAD Agnostic
- ↳ SolidWorks
- ↳ How To Questions
- ↳ SW General
- ↳ SolidWorks FAQ
- ↳ API
- ↳ Macro Library
- ↳ SolidWorks PDM
- ↳ 2D Drawings
- ↳ Routing-Electrical-Piping
- ↳ Surfacing
- ↳ Rendering - Visualize - Photoview
- ↳ SW Simulation
- ↳ SW Motion Analysis
- ↳ Enhancement Requests
- ↳ Solid Edge
- ↳ NX
- ↳ Onshape
- ↳ Creo
- ↳ Inventor
- ↳ Fusion 360
- ↳ KeyCreator
- ↳ Catia and 3DX
- ↳ IronCAD (CAXA)
- ↳ Shapr3D
- ↳ CAD Admin (Install, PDM, etc)
- ↳ subD and Mesh
- ↳ Hardware
- ↳ Misc CAD
- ↳ Draftsight
- Other Technology
- ↳ Computer Aided Engineering
- ↳ Rendering and Motion
- ↳ 3D Scan
- ↳ General Engineering and Design
- ↳ AI and Related Tech
- Manufacturing
- ↳ 3D Print
- ↳ CAM
- ↳ PowerMILL
- ↳ Molding, Casting, Powder Metal
- ↳ Robotics
- Board Business
- ↳ General Biz and Announcements
- ↳ Suggestions
- ↳ What's Wrong?
- ↳ What's New
- ↳ Events
- ↳ Media and Advertising
- Off Topic
- ↳ Kitty Dump
- ↳ Job Listings
- ↳ For Sale and Want To Buy