Skip to main content

Scripts and DLLs

Overview

There are two main ways to implement extensions.

  • Script

    Implementation method by C# script

  • .NET DLL

    Implementation method to compile from C# to .NET DLL

Differences depending on the implementation method

  • The differences depending on how the extension is implemented are as follows.

    ItemsScripts.NET DLLs
    Next Design Object Model ManipulationYesYes
    Event processing triggered by user operationImpossiblePossible
    Advanced enhancements
    -Conditional formatting in diagram view
    Adding dynamic constraints during model editing operations
    Incorporating user-specific UI
    ImpossiblePossible
    Immediate execution in script editorYesNo
    Modification of distributed extensionsPossibleNot possible
    Visual Studio intellisense code completionImpossiblePossible
    Debugging with Visual StudioImpossiblePossible
    Compile wait time when calling the first processYesNone
    Processing performanceHighHigh
  • The recommended implementation is to compile from C# to a .NET DLL. You can expect high productivity because you can take advantage of powerful development support functions such as intellisense and debugger that Visual Studio has. You can use the rich .NET library to realize various unique functions and develop from small to large extensions.

  • The implementation method by C# script can open the processing contents. Extension users can also check the processing details before using it, and if necessary, the script can be directly modified and executed.

  • Scripted C# scripts can also be run immediately in Next Design's Script Editor.

  • The .NET DLL-based C# and script-based C# scripts share the same handler implementation code. Therefore, it is possible to debug using Visual Studio using the .NET DLL method, and then provide the implemented C# source code as a C# script with minor modifications.