Request a quote Make a payment

Creating SolidWorks Simulation Macros

call  BeaconIndiaComments off. call 

Creating SolidWorks Simulation Macros:

Macros are always created to improve efficiency and make things faster. Now, we have the power of recording your own macros for studies in SOLIDWORKS Simulation 2017. The Record button in the Macro Toolbar (or under Tools > Macro > Record) makes it quick and easy to generate the macro script automatically by following the operations performed with the SOLIDWORKS Simulation user interface.

With macro recording you can capture these tasks for static and nonlinear studies:

  • Create studies
  • Define study properties (static studies)
  • Apply material
  • Apply loads and boundary conditions
    • Pressure, Gravity, Centrifugal, Bearing load, Temperature, Convection, Heat flux, Heat power, Radiation, Distributed mass, Uniform and selected base excitation, Fixtures, Drop test setup, Manual contact definitions (only with entity selection not automatically detected contacts), and Component contacts
  • Create Mesh and Mesh Control
  • Run the study
  • Create Plots

Macro operations are accessed from the Macro toolbar or the Tools > Macro menu. Recorded macros are saved as .swp Visual Basic for Applications (VBA) project files.

To record the macro, refer the image below,

To stop the recording of macro, refer the image below,

Once you stop the recording of macro, save it in the preferred location.

The saved macro can be run on the similar components.

BEACON © All Rights Reserved.2018