SOLIDWORKS Forums API/Macros: How to write a SOLIDWORKS AddIn in C#?

Поділитися
Вставка
  • Опубліковано 24 сер 2024

КОМЕНТАРІ • 24

  • @BlueByteSystemsInc
    @BlueByteSystemsInc  7 років тому +2

    For anyone looking to find the solidworks libariries you'll find them in the following directory:
    \API\Redist Thanks!

  • @asian1nvasion
    @asian1nvasion 7 років тому

    Thanks for sharing your API videos. Just came across this on the Solidworks API Forum. Another great added resource to the AngelSix channel.

  • @TheIndieProject
    @TheIndieProject 5 років тому +1

    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!

    • @BlueByteSystemsInc
      @BlueByteSystemsInc  5 років тому

      I'm not doing any API videos anymore. Check out CADSharp.com!

  • @willysnowman
    @willysnowman 6 років тому +1

    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.

  • @RobEdwards369
    @RobEdwards369 6 років тому +1

    Thanks So Much Amen :) Perfect!

    • @BlueByteSystemsInc
      @BlueByteSystemsInc  6 років тому

      You're welcome. Come and join me at booth 533 at SWW if you're coming!

    • @RobEdwards369
      @RobEdwards369 6 років тому

      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!

  • @trinhngocphi5362
    @trinhngocphi5362 2 роки тому

    i have a trouble with my codes. So How can i call Solidworks then macro directly by C# WPF? thanks!

  • @xmenxwk
    @xmenxwk 6 років тому

    all good but still looking for adding menus.

  • @gwrdcplanningqualitycontro27
    @gwrdcplanningqualitycontro27 5 років тому

    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.

  • @leogsantos5
    @leogsantos5 Рік тому

    error in setaddcallbackinfo2 access violation

    • @leogsantos5
      @leogsantos5 Рік тому

      changed to setaddcallbackinfo and it worked

  • @FJProject
    @FJProject 6 років тому

    Can this be done in C++ ? (w/o template wizard)

  • @user-dv1ed8mx1v
    @user-dv1ed8mx1v 6 років тому

    Very useful video! Thanks))

  • @izmaelverhage
    @izmaelverhage 6 років тому

    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?

    • @izmaelverhage
      @izmaelverhage 6 років тому

      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.

    • @izmaelverhage
      @izmaelverhage 6 років тому

      What the project wizard looks like in VS2017: imgur.com/a/rVrNP

    • @izmaelverhage
      @izmaelverhage 6 років тому

      Which one is that? The .NET STandard > Class Library template?

    • @izmaelverhage
      @izmaelverhage 6 років тому

      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.

    • @izmaelverhage
      @izmaelverhage 6 років тому

      If anyone is looking for it, this is what you need to install in VS2017:
      imgur.com/a/0YpTw

  • @asmaradi3251
    @asmaradi3251 4 роки тому

    help, routing add-ins missing

    • @BlueByteSystemsInc
      @BlueByteSystemsInc  4 роки тому

      @Asma Radi, can you send a message over the contact page BlueByte.biz I might be able to help you