As with any other discipline, there is always a tradeoff between time and money. If you have money but not time, you need a consultant. If you have time but not money, you may consider learning the discipline yourself. Most engineers interested in the API fall into the second category. Then again, what engineer really has gobs of time to spend learning a new discipline? Not many of us do. Nevertheless, I can help you develop a general idea of how long it will take you to learn the API—assuming you use the best resources available.

This will evolve towards an exporter to Hyperion soon …. Imagine you get a large dxf or dwg which has been colorized by hand, without using layers. This macro will let you edit the drawing cleanly in SolidWorks, by placing all segments with the same color on specific layers.

Saving your models as pictures for documentation? If you need to adjust the material texture to many different sizes configurations of a part, here is a macro for you:. DynaBits is now out of business.

Read its story, achievements and my personal bitter thoughts about this defunct startup. SolidWorks API. Redlight forever! Layers 30Jan ViewSize 12Jan Macro to resize the model view for screen captures Saving your models as pictures for documentation? AddWeldMass 12Jan Scale Texture 11Jan About DynaBits 01JanHad lots of examples and gave out additional support information.

Receive training at your place of work. Get a quote for the course and let us know the date and location where you require training. Training Course. Call Take this Course. Course Info at a glance. At least 1 month using software. Features Targeted.

Skills you will acquire. Testimonials "The instructor was a very good communicator. Training Methods Choose from three different training methods available to you. Advantages Cost effective training method.

SOLIDWORKS API Getting Started Overview

Leave the office to concentrate on learning. Learn more through group questions and feedback. Advantages Online courses are typically half day sessions. More effective than video based trainingwith recorded videos learners are often not as focused on the training and skip exercises.

Onsite at your location Receive training at your place of work. Advantages Use our state-of-the-art mobile classroom at your facility. Bring your team up to a consistent level of knowledge by having them take the same training at the same time. Benefit from flexible scheduling options. Get Custom Training. Improve Productivity. Get a Quote.The API within SolidWorks allows any user with a basic programming knowledge to automate tasks of all levels of complexity using macros and add-ins.

Since using the SolidWorks API requires at least a basic knowledge of programming, a lot of users are turned off by it. With good training, however, that need not be the case. Every version and every tier e. What is VBA? Is this course available for any other programming languages? Not at the moment, though eventually I intend to expand the course to cover macro, addin, and stand-alone development using VB.

NET and C. For the total beginner, however, VBA is a great place to start since it is easier to learn than. NET in the future. How well should I know SolidWorks?

This course assumes that you are familiar with the basics of sketch, feature, assembly, and drawing creation. Is this course compatible with the latest versions of SolidWorks? The SolidWorks API is forward compatible, so you should have no problem using the code in any future version.

Lock file with Solidworks API or Document Manager API

In fact, most of what you learn is compatible as far back as SolidWorks Can I use your code samples in my own macros? We would appreciate it, however, if you noted at the top of your macro that some of the code came from www. We also ask that you not post our code on your web site or on a forum without our permission.

SOLIDWORKS Tips & Tricks- 60 Tips in 60 Minutes. Learn so many tips in so little time.

Can I download the videos? At this time we only offer streaming. While you still have an internet connection, open up a new browser and go to the lesson page of the video you want you to watch later. Start playing the video and then press pause.

The video will continue loading. Then you can put your computer in sleep or hibernate mode, and later when you wake your computer, the video will still be loaded and available to watch. What does the technical support available with a Power User membership include? Please understand that tech support is not a substitute for our consulting services. We cannot write sizable pieces of code or debug complex problems that will take us hours.

solidworks api

We prefer to keep communication limited to Slack and only use a phone call or screen share if necessary. Therefore, if we feel that your request is beyond the scope of technical support, we may ask that you simplify your request or that you consider hiring us as consultants.

How do I upgrade or extend my account?Top-level document see Remarks. Component for the feature see Remarks.

True if the feature is updated successfully, false if not. Should be the assembly IModelDoc2 object and the Component argument should be the IComponent2 object in which the feature is to be modified.

When you modify a feature in an assembly, this method leaves the assembly in Editing Part mode. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

solidworks api

To report problems encountered with the Web help interface and search, contact your local support representative. All rights reserved. ModifyDefinition Method IFeature. Object Dim Component As System. Object Dim value As System. To modify a feature in Then TopDoc argument A part Is the IModelDoc2 object for the part and the Component argument should be Nothing or null An assembly Should be the assembly IModelDoc2 object and the Component argument should be the IComponent2 object in which the feature is to be modified When you modify a feature in an assembly, this method leaves the assembly in Editing Part mode.

Thank you for your comments. We will contact you if we have questions regarding your feedback. Print Topic Select the scope of content to print: Just this topic This topic and all topics linked from this topic This topic and all children of the topic in the table of contents. Never show this message again. Other versions:. Feedback on this topic. Getting Started. A part. An assembly. Just this topic. This topic and all topics linked from this topic. This topic and all children of the topic in the table of contents.As with any other discipline, there is always a tradeoff between time and money.

If you have money but not time, you need a consultant. If you have time but not money, you may consider learning the discipline yourself.

solidworks api

Most engineers interested in the API fall into the second category. Then again, what engineer really has gobs of time to spend learning a new discipline?

Not many of us do. Nevertheless, I can help you develop a general idea of how long it will take you to learn the API—assuming you use the best resources available. You can play around with the macro recorder, look at code samples you find online, try cutting and pasting your own macros together, etc. Alternatively, what if you could have a professional SolidWorks API programmer sit beside you and walk you through all of the basics, and well beyond?

This exact experience may not be possible, but you can get pretty close using SolidWorks API video tutorials like those found here. In particular, I recommend using dual monitors—have the video on one screen and your code editor on the other screen.

It requires skills that may be completely new to you. Of course, the end result is more than worth it. Do you want these things and enjoy learning? The API is for you. You are commenting using your WordPress. You are commenting using your Google account.

SOLIDWORKS API Code Examples for Macros and Add-ins

You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. SolidWorks API. Trust me, this gets old fast. It is by far the simplest language to learn and use with the API. The main drawback is that you cannot write addins and stand-alones, only macros. Whereas many help files are notorious for being useless, the SolidWorks API help file is exactly the opposite.

Without it, researching what code to write is either tedious or impossible. That being said, it is written for programmers. Learning how to use the API Help best occurs in the context of learning basic programming.

These objects can refer to nearly anything you can think of within SolidWorks—a part, a feature, a face, a drawing view, a dimension, a mate, etc.

Without grasping the relationships of these objects to one another, it is very difficult to quickly write API code. Fastest Way to Learn These Skills? Share this: Twitter Facebook.Open www. At the bottom of the Download and Install page, click the download, unzip, and install all the files link.

SOLIDWORKS API

Double-click apisdk. On the Select Type page, select the Custom option, select the API templates and examples, specifying their directories. If you are not, then you should:. Take courses in the programming languages that you intend to use.

Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support. We have detected you are using a browser version older than Internet Explorer 7.

For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer. To report problems encountered with the Web help interface and search, contact your local support representative.

All rights reserved. Welcome Getting Started.

solidworks api

Click Downloads and Updates. Thank you for your comments. We will contact you if we have questions regarding your feedback. Print Topic Select the scope of content to print: Just this topic This topic and all topics linked from this topic This topic and all children of the topic in the table of contents. Never show this message again. Other versions:. Feedback on this topic. Getting Started.

Lisp Programming Basics. Lisp Functions Overview. Lisp Functions Reference. Just this topic. This topic and all topics linked from this topic.Choose a layout and drag widgets onto your Overview Page to customize it. Widgets placed on the page below can be configured by selecting the symbol. Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled.

Please turn JavaScript back on and reload this page. Dismiss this customization message Don't show me this again. Log in to follow, share, and participate in this community.

Share space. Quick Links. Unanswered Questions. Subject Author API serial number based on variable value selection. Recent Content. Popular Tags Filter the content list below by selecting a tag.

Popular Tags in eDrawings The following tags are frequently used with this category. Popular Tags in SolidWorks The following tags are frequently used with this category.

Enable controls of PMP by checkbox 1 hour ago by Antuan Getto SetMaterialProperty not updating the material 18 hours ago by Aaron Heathcote GetObject returning nothing in 19 hours ago by Ryan Gerry How get all top level components from assembly and all components from children assembly, if children assembly is promoted? Get a feed of this content. Have an API question? Ask a question in this group Ask it. API serial number based on variable value selection. Enable controls of PMP by checkbox 1 hour ago.

How to get the name of the body sketch? SetMaterialProperty not updating the material 18 hours ago. GetObject returning nothing in 19 hours ago. How get all top level components from assembly and all components from children assembly, if children assembly is promoted?