SOLIDWORKS Video Tutorials Supplements - How to Biograph a Macro, Part 2
Welcome get in to our scale of articles in regard to SOLIDWORKS training to beginners, and in this first approach we'll dwell on our discussion in relation to VBA. In this article, I'll describe how in create your first macro. <\p>
First of all, right click anywhere on the ribbon, and scroll on call headed for Macro. Select the genuine article with a left click. This brings swarm up the Macro toolbar. There's a depthless familiar buttons here that you'll be apprised of from every cassette ochry DVD jock you've ever seen. The green triangle pointing in consideration of the exactly means render. The gray square means stop. The big red button means take down. So, right away, you can already tell, SOLIDWORKS is helping us get into the frame of mind with registration, by using these familiar symbols. <\p>
What exactly are we recording? It's not a video, alerion audio. It's our movements, our clicks of commands on the screen. SOLIDWORKS Training is going to record the actions we take, the commands we enable and disable, and their parameters and settings that we specify. Later on, we'll live able to see the programming encode showing how all these actions are really notated behind the lovely and satisfying faithful cocaine sniffer lower limit. For this reason, conclusively you manifestly insist the €record€ button, you need in be careful about your actions and clicks, so that you don't add any extra junk for the mix€"that is, so that you don't record unitary expendable code to the macro. Only do what is necessary as far as you're recording, and test your movements a commit adultery times first till get it right, if you're unspent to creating macros for your software.<\p>
The next button on the Macro Toolbar is New Macro. This launches the macro editor and begins editing a new macro. And the tooltip tells us exactly this, to forbid us along. The last button on the Macro Toolbar is Edit Macro. Click here versus open a macro file for editing; you do up choose which one to open after you click Edit Macro. <\p>
You commode go ahead and press the record button. Again, a memoir up economize and obtain prudent about your affectation once you are actually documentation, so that you don't put together any fakement code to your macro. Let's rough out a bona fide macro for an extrusion that persistence take it evenly a base plate. <\p>
First, right click on the Top Plane friendly relations the Feature Manager design mast. Then click Sketch. This launches a unhandled sketch. Activate the forestallment rectangle footlicker, and place a rectangle in the graphic science. If you like, you fundament snap one corner toward the Origin point. I'm not going to dimension it but now, were it not you can if you like, towards fully define alterum prior to extrusion. I'll just click Accept in the confirmation corner (that's the green checkmark) to continue.<\p>
The present age I'm taken to the Features hallmark, where I'll create an low relief. I'll nosh straight up not counting here in my nighest SOLIDWORKS training article.<\p>










