Enhancing iLogic with Windows Forms | Autodesk Virtual Academy

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 8

  • @woutervrouwenvelder8487
    @woutervrouwenvelder8487 7 месяцев назад +1

    Is there a way to have the form as modeless instead of modal? just changing the ShowDialog to Show doesn't work

  • @user-nc9bb8ps6m
    @user-nc9bb8ps6m 7 месяцев назад

    greate video, are you going to make a move about how to create an extension for inventor using C# ?

  • @WillEhrendreich
    @WillEhrendreich 3 года назад +2

    Vba forms are a thing.. they just are limited by an extremely old compiler and are pure torture. It's really the best to either use the built in ilogic forms or use modern .net languages and user interfaces for more advanced things. I'm exploring using WPF inside inventor currently, and that really is the most powerful route, but of course that requires you to learn WPF. At that point, it's best to probably learn broader programming concepts like Classes, Interfaces, Polymorphism, Inheritance, Events, MVVM, Dependency injection, Asynchronous/Concurrent programming, the S.O.L.I.D. design principles, and some commonly used Software Design Patterns like the Gang of Four ones (factory pattern, abstract factory pattern, Decorator pattern, etc).
    You can have your cake and eat it too, it seems like, because the iLogic dll's are just in the ProgramFiles/Inventor [release year]/bin/ folder. It looks like if you reference those, you can use all of the nice functionality from outside of ilogic itself. I'm going to use that to drive Managed Assemblies, and then hopefully spit out set of Roslyn-translated rules to the assembly file, so that if it's ever disconnected from my plugin, for whatever reason, it still knows what to do to itself to make the assembly still automated.
    I need things translated because I'm using c#, I find that it's a much nicer language than vb.net. I really hope they start integrating the ability to code in c# in future versions of iLogic, as it's all compiled down to IL anyway, and the control they are using to build their iLogic editor is fully capable of interpreting C#, it says so in the dll.

    • @KETIVTechnologies
      @KETIVTechnologies  3 года назад

      Thank you for your input Will! Nicole Morris|KETIV

    • @WillEhrendreich
      @WillEhrendreich 3 года назад +1

      @@KETIVTechnologies you're welcome. You guys have such a great record of giving great information and guidance, I really appreciate it. Ketiv is the best consistently uploading educational content about inventor on youtube, bar none. I'd be way behind where I am today without the knowledge you guys have just handed out constantly. It's awesome

  • @nemanjazivaljevic1656
    @nemanjazivaljevic1656 3 года назад +1

    Can you make video creating whole assembly using inventor api with c#. Or something like that?

    • @KETIVTechnologies
      @KETIVTechnologies  3 года назад

      Hi Nemanja, thank you for your request! I'll add that to the list of potential topics for the future. Thanks for stopping by. Nicole Morris|KETIV Support Team Lead