You can add customised macro button to solidworks toolbar (and also generate new button in new toolbar) and that can linked by specific macro.
Steps- Follow steps to build button (customised command).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sgOn2Bhgec45t1dZpO0GcxPrF0hbmbz2u48Dk3ks1qU7RNvfO4Xo9yyNmDa9r6BlKqqzGSFQRn8ZH1M3lD-9aP-91IE2y19Xa0TLoBanws0WJIjBRE50buEtBV8DnBuQerTFJbkmPz_d/s1600/custo.jpg)
2. Go on Commands tab.
3. Select Macro in left hand panel.
4. Select New Macro Button Command.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxLmjpvs5xhwjLIV2mocuFqzErFb3w9JX0Kd-z3TPmCdApCK2biJOiH-9ZJZz0Ruq5Nl7c8Q10NtoSRDOZPAqMKsPaD_PZFHozsJ7dIqvO7klDw3rYFKSq38F4jBVkK5zIvxDw6aFXF7um/s640/Screenshot+%25282%2529.png)
5. Drag command (new macro Button) where you want to place this new button (command).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaoUN1Ke-MMztEw3V3j2z0ZCAMWyOtGO8l-bJqwub-RbbP7cf6M5AwUGFEwaB0H8fcPL-im-kFdDiKbuxB3bE2qzqDITxGFbxYoxYQRJ-mOk8equb3klpdH1uqETVAa_iPsG8H2wlLZali/s640/Screenshot+%25286%2529.png)
6. After placed, Customize Macro Button tab will open, where it will require some information, Ex-
7. Press Ok. and also in Customize tab press Ok.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipPzgVm-s7EGrSLERd_BjLWhkS8SjtYPuDu7jb5Hd_Mmzcy8aB2PeP0Bq238S1M7gwIg6vHVrq6F7-joVLqL57WaoEVxYEBqGlBapllTrhE3b3QSMDTMff3fAtRC9n1sM3yIEmagx5ndAa/s640/Screenshot+%25284%2529.png)
Steps- Follow steps to build button (customised command).
- Expand the option button and select customize.. Or Right click on free space near toolbar and select customize...
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sgOn2Bhgec45t1dZpO0GcxPrF0hbmbz2u48Dk3ks1qU7RNvfO4Xo9yyNmDa9r6BlKqqzGSFQRn8ZH1M3lD-9aP-91IE2y19Xa0TLoBanws0WJIjBRE50buEtBV8DnBuQerTFJbkmPz_d/s1600/custo.jpg)
2. Go on Commands tab.
3. Select Macro in left hand panel.
4. Select New Macro Button Command.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxLmjpvs5xhwjLIV2mocuFqzErFb3w9JX0Kd-z3TPmCdApCK2biJOiH-9ZJZz0Ruq5Nl7c8Q10NtoSRDOZPAqMKsPaD_PZFHozsJ7dIqvO7klDw3rYFKSq38F4jBVkK5zIvxDw6aFXF7um/s640/Screenshot+%25282%2529.png)
5. Drag command (new macro Button) where you want to place this new button (command).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaoUN1Ke-MMztEw3V3j2z0ZCAMWyOtGO8l-bJqwub-RbbP7cf6M5AwUGFEwaB0H8fcPL-im-kFdDiKbuxB3bE2qzqDITxGFbxYoxYQRJ-mOk8equb3klpdH1uqETVAa_iPsG8H2wlLZali/s640/Screenshot+%25286%2529.png)
6. After placed, Customize Macro Button tab will open, where it will require some information, Ex-
- Macro- Browse your macro file, which you saved in your system (computer/laptop).
- Method- Program will start from. (by default)
- Appearance - Image Icon, where you can select image for your button (command).
- Tooltips- Name for button, which will display.
7. Press Ok. and also in Customize tab press Ok.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipPzgVm-s7EGrSLERd_BjLWhkS8SjtYPuDu7jb5Hd_Mmzcy8aB2PeP0Bq238S1M7gwIg6vHVrq6F7-joVLqL57WaoEVxYEBqGlBapllTrhE3b3QSMDTMff3fAtRC9n1sM3yIEmagx5ndAa/s640/Screenshot+%25284%2529.png)
No comments:
Post a Comment