KLayout in c# project

edited August 2015 in General
Hello,

is there a possibility to use KLayout from within a C# project?

Comments

  • edited August 2015

    See this. Basically:

    • Easier to use macros within KL than using KL within something else; KL is an application not an API.
    • If you use KL source code in your project then the open source license propagates
    • You will have to be more specific about how you what 'use' means (what functionality are you using) so we can help more.

    David

  • edited November -1

    Hi Andski,

    you mean as an engine or as a UI component?

    Both options are not available right now, but I was asked several times already whether it's possible to export the features of KLayout rather than integrating a scripting engine into KLayout. In order words: whether to provide the KLayout API as a library.

    This would open some opportunities and technically that is possible. For example, you could export KLayouts MainWindow or LayoutView as an ActiveX control with the ActiveQt framework. The Ruby classes could basically be exported as a COM server too.

    But: that's a BIG effort and first of all the architecture of the application has to be turned upside down and the application and widgets parts have to be separated more clearly. Second, doing so creates some legal issues - you don't want to include a GPL'd component into your application if you want to sell it.

    Matthias

Sign In or Register to comment.