US$0.00
0

SOLIDWORKS Macro to Create Custom ISO Views (8 Orientations)

Description

  • Creates eight custom-named ISO views (based on front, right, back, and left, viewed from top and bottom).
  • Enables quicker, consistent access to ISO views beyond the standard two.
SOLIDWORKS Macro to Create Custom ISO Views and n image divided into two side-by-side sections labeled "Before" and "After," showing a SOLIDWORKS software interface. The "Before" section displays a partially constructed 3D model of a valve with a few extruded components and a feature tree on the left listing steps like "Base Extrude" and "Cut Extrude." The workspace is mostly empty with a gray background. The "After" section shows the completed 3D model of the valve, featuring a more detailed structure with multiple cylindrical and connected parts, and the same feature tree on the left with additional steps like "Fillet" and "Mirror." Both sections include toolbars and menus at the top, with the "After" section highlighting the finalized design in a 3D view.

System Requirements

  • SOLIDWORKS Version: SOLIDWORKS 2014 or newer
  • Operating System: Windows 7 or later

Pre-requisites

  • An open document of SOLIDWORKS must be active.
  • It is best to use a 3D model, as the ISO views generated will represent geometric perspectives with meaning and use.

Results

  • Eight ISO views are generated, and the name is customized for easy identification and use.
    • Top-front-right (TRF-ISO)
    • Top-right-rear (TRR-ISO)
    • Top-left-rear (TLR-ISO)
    • Top-left-front (TLF-ISO)
    • Bottom-right-front (BRF-ISO)
    • Bottom-right-rear (BRR-ISO)
    • Bottom-left-rear (BLR-ISO)
    • Bottom-left-front (BLF-ISO)
  • The macro will then delete any previously named views that have the same eight names before creating them, giving us a set of custom ISO views that will not cause duplicates.

Steps to Implement the Macro

  1. Open the File: You should have a 3D model file open in SOLIDWORKS where ISO views can be meaningfully generated.
  2. Load and Run the Macro:
    • Open the SOLIDWORKS VBA editor by pressing (Alt + F11).
    • Insert a new Module and then paste the provided macro code from the SOLIDWORKS macro to create custom ISO views.
    • You can run it immediately from the VBA editor, or from the main SOLIDWORKS software by navigating to Tools > Macro > Run and selecting the file. This depends on your particular work procedure.
  3. Using the Macro:
    • The macro will run automatically: it will first delete any existing named views that take the same output name as the eight specified in order not to duplicate the views produced.
    • Then it will create new ISO views based on the specifications and save the created views under those new names for easy selection and use.

VBA Macro Code

Macro

You can download the macro from here

Need to modify the macro to meet specific requirements?

Contact us today to see how our experience can help provide you with a custom solution for maximizing your engineering efficiency.

Author

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM. With over a decade of experience, he has authored several courses and open-source frameworks related to the SOLIDWORKS API. His leadership ensures that Blue Byte Systems prioritizes customer satisfaction and delivers high-quality software and CAD design solutions.
0
    0
    Your Cart
    Your cart is emptyReturn to Shop
    ×