Computer Aided Automation

Full Version: HOW to Record a Solidworks macro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In this example we will discuss about “How to Record a Macro in Solidworks”

Once you open the Solidworks, Go to Tools -> Macro -> Record

1.[attachment=1]
Then start your project, in this example we will be making a cylinder (Draw circle and extrude it to Cylinder)

Create a New Part Document
2.[attachment=2]

Then Create a Circle and Extrude it.
3.[attachment=3]

After creating the Cylinder, Go to Tools -> Macro-> Stop and save your Macro
4.[attachment=4]

After saving the macro, close the part document (without saving it)
5.[attachment=5]

Now, you have created your macro for creating a cylinder. (Dimensioning will be discussed in next post)


In order to use the macro, go to Tools->Macro->Run

6.[attachment=6]
And open the newly created macro
7.[attachment=7]
As you can see that your Part Document is automatically generated
8.[attachment=8]