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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 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!

  • @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!

  • @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.

  • @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.

  • @trinhngocphi5362
    @trinhngocphi5362 3 ปีที่แล้ว

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

  • @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.

  • @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!

  • @FJProject
    @FJProject 7 ปีที่แล้ว

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

  • @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

  • @xmenxwk
    @xmenxwk 6 ปีที่แล้ว

    all good but still looking for adding menus.

  • @leogsantos5
    @leogsantos5 2 ปีที่แล้ว

    error in setaddcallbackinfo2 access violation

    • @leogsantos5
      @leogsantos5 2 ปีที่แล้ว

      changed to setaddcallbackinfo and it worked

  • @ОлександраТимуш
    @ОлександраТимуш 6 ปีที่แล้ว

    Very useful video! Thanks))

  • @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