Great Tutorial! The very basics to get the most simple Solidworks "add in" as a starting point. It would be nice to get maybe here and there some more background information but anyway, well done. Thank you sir!
Thanks! Note: In Visual Studio 2017 you have to start with a console app then switch to class to get the COM check boxes to work. OTW it is grayed out.
Hey, Blue Byte! I really want to know what APIs and Macros are because I've been learning solidworks modelling solids and surfaces but I never came across something like that. Also because I applied for a job that requires me to know solidworks by VBA, VB and C#. I am really good with software but I think I am quite newb in coding. I don't know coding at all. Pls help. Thanks.
I'm using VS2017 and I have trouble making the "Register for COM interop" option available. It's grayed out. Looks like things are different with the new .NET Core Universal stuff in VS2017 vs 2015. Any advise?
I've tried "Visual C# > Windows Universal > Class Library (Universal Windows)" first. It doesn't have the Application properties tab. I've now tried "Visual C# > .NET Standard > Class Library (.NET Standard)" with .NET Framework 4.5.2 selected, but still no "Register for COM interop" option available. It does have an application properties tab, but the target framework is .NET Standard 2.0 and I can't set it higher.
Never mind, I got it. I had to install ".NET Desktop Development" in VS2017. Now I can select "Visual C# > Windows Classic Desktop > Class Library (.NET Framework)" and it seems to be what's needed.
For anyone looking to find the solidworks libariries you'll find them in the following directory:
\API\Redist Thanks!
Thanks for sharing your API videos. Just came across this on the Solidworks API Forum. Another great added resource to the AngelSix channel.
Great Tutorial! The very basics to get the most simple Solidworks "add in" as a starting point. It would be nice to get maybe here and there some more background information but anyway, well done. Thank you sir!
I'm not doing any API videos anymore. Check out CADSharp.com!
Thanks! Note: In Visual Studio 2017 you have to start with a console app then switch to class to get the COM check boxes to work. OTW it is grayed out.
Thanks So Much Amen :) Perfect!
You're welcome. Come and join me at booth 533 at SWW if you're coming!
If Only... Im on the other side of the Altantic, but I follow you on the forum.. and Im there every day :)
Have a good One!
i have a trouble with my codes. So How can i call Solidworks then macro directly by C# WPF? thanks!
all good but still looking for adding menus.
Hey, Blue Byte! I really want to know what APIs and Macros are because I've been learning solidworks modelling solids and surfaces but I never came across something like that. Also because I applied for a job that requires me to know solidworks by VBA, VB and C#. I am really good with software but I think I am quite newb in coding. I don't know coding at all. Pls help. Thanks.
error in setaddcallbackinfo2 access violation
changed to setaddcallbackinfo and it worked
Can this be done in C++ ? (w/o template wizard)
Very useful video! Thanks))
I'm using VS2017 and I have trouble making the "Register for COM interop" option available. It's grayed out. Looks like things are different with the new .NET Core Universal stuff in VS2017 vs 2015. Any advise?
I've tried "Visual C# > Windows Universal > Class Library (Universal Windows)" first. It doesn't have the Application properties tab. I've now tried "Visual C# > .NET Standard > Class Library (.NET Standard)" with .NET Framework 4.5.2 selected, but still no "Register for COM interop" option available. It does have an application properties tab, but the target framework is .NET Standard 2.0 and I can't set it higher.
What the project wizard looks like in VS2017: imgur.com/a/rVrNP
Which one is that? The .NET STandard > Class Library template?
Never mind, I got it. I had to install ".NET Desktop Development" in VS2017. Now I can select "Visual C# > Windows Classic Desktop > Class Library (.NET Framework)" and it seems to be what's needed.
If anyone is looking for it, this is what you need to install in VS2017:
imgur.com/a/0YpTw
help, routing add-ins missing
@Asma Radi, can you send a message over the contact page BlueByte.biz I might be able to help you