Toggle the Explode and Collapse of pre-defined Exploded Views (Assembly Only)

Modified on: November 17,2017  
Downloads: 143  


Description:This macro toggles the exploded view state of the active assembly configuration. If no exploded view exists, then no action is performed. If an exploded view does exist; the macro detects if it is in an exploded state, and if so, the macro will collapse the view. If the macro detects the view is in a collapsed state, the macro will explode the view. For assembly documents only. If more than one exploded view exists per configuration, this macro will only interact with the first exploded view. Use the bitmap and place the macro on the S-Key of the SW GUI.
    Precondition: An exploded view must pre-exist in the active assembly configuration. The view can be either in the exploded or collapsed state at time of macro execution.
  Postcondition: Will toggle the exploded view to it's alternative state of collapsed or exploded if the exploded view exists.
SOLIDWORKS version: Unknown
Programming Language: SW_VBA


Macros might contain viruses or other security hazards. SOLIDWORKS Corporation has not verified that the macros posted on this site are safe and that they came from a trustworthy source.

Download the SOLIDWORKS Macro.


(Login required)  

Other contributions from this user

Parts & Assemblies


Library Features



John Milbery

User since: 5/31/2001
Title: Administrator
  Report Inappropriate User
Report Inappropriate Comment