Automating SOLIDWORKS 2021 Using Macros
eBook - PDF

Automating SOLIDWORKS 2021 Using Macros

A guide to creating VSTA macros using the Visual Basic.NET Language

  1. English
  2. PDF
  3. Available on iOS & Android
eBook - PDF

Automating SOLIDWORKS 2021 Using Macros

A guide to creating VSTA macros using the Visual Basic.NET Language

About this book

  • Learn how to save time by automating repetitive work
  • Teaches you how to develop macros for SOLIDWORKS, the SOLIDWORKS Document Manager and SOLIDWORKS PDM Professional
  • Programming experience is not required
  • Covers many of the major API functions through practical use cases
  • Focuses on the Visual Studio Tools for Applications macro interface

Engineers working with SOLIDWORKS are often faced with tedious, repetitive work that can consume a lot of time, but it doesn't have to be this way. One of the most exciting aspects of SOLIDWORKS is its robust programming interface or API. The SOLIDWORKS API allows you to write code that can perform almost any series of actions for you. SOLIDWORKS was built from the ground up to automate, and in this book, you will learn how to take advantage of these powerful tools to speed up your work.

Automating SOLIDWORKS 2021 Using Macros is designed as a tutorial to help beginner to intermediate programmers develop macros for SOLIDWORKS. Experience with programming isn't required. The book starts with a chapter on the fundamentals of Visual Basic.NET and the SOLIDWORKS API to make the learning process easier for beginners. The rest of the book introduces you to developing macros using the SOLIDWORKS API. The book concludes with a chapter dedicated to some of the author's favorite source code for you to use as the basis for typical automation procedures.

The focus of this book is primarily on the Visual Studio Tools for Applications (VSTA) macro interface. It covers many of the major API functions through practical use cases. It will teach you the fundamentals of Visual Basic.NET as well as SOLIDWORKS, SOLIDWORKS PDM Professional, SOLIDWORKS Document Manager and Excel API functions.

Author Mike Spens has been professionally developing macros for SOLIDWORKS for more than a decade. He has helped numerous companies develop their own programs and streamline their workflows. If you want to learn how to develop your own macros for SOLIDWORKS, following best practices and using well written code, then this is the perfect book for you.

What you'll learn

  • Record macros
  • Control Custom Properties
  • Create parts and features
  • Build assemblies
  • Batch create drawings
  • Extract information from PDM
  • Create add-ins from macros
  • Create many other time saving utilities

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Automating SOLIDWORKS 2021 Using Macros by Mike Spens in PDF and/or ePUB format, as well as other popular books in Computer Science & CAD-CAM. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Title Page
  2. Copyright
  3. Introduction
  4. Chapter 1: Fundamentals
  5. Chapter 2: One Button PDF Publishing
  6. Chapter 3: Model Dimensions Using Excel VBA
  7. Chapter 4: Controlling Options
  8. Chapter 5: Material Properties
  9. Chapter 6: Custom Properties
  10. Chapter 7: Model Creation
  11. Chapter 8: Data Import and Export
  12. Chapter 9: Drawing Automation
  13. Chapter 10: Notes, Annotations and Tables
  14. Chapter 11: Building Assemblies
  15. Chapter 12: Working with File References
  16. Chapter 13: Document Manager API
  17. Chapter 14: Creating Add-Ins
  18. Chapter 15: Add-In Events and Installation
  19. Chapter 16: PDM Professional API Basics
  20. Chapter 17: PDM Professional Files and Variables
  21. Chapter 18: PDM Professional Bills of Materials
  22. Chapter 19: Favorite Code Examples
  23. Index