Skip to main content

Scripts and DLLs

Overview

There are two main ways to implement extensions:

  • scripts

    How to implement by C# script

  • .NET DLLs

    How to implement compiling from C# to .NET DLL

Differences due to implementation methods

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

    ItemScript.NET DLL
    Next Design Object Model ManipulationYesYes
    Event processing triggered by user operationNoYes
    Advanced functional enhancements
    ・Conditional formatting changes in diagram view
    Addition of dynamic constraints during model editing operations
    Incorporation of user-specific UI
    NoYes
    Immediate execution in Script EditorYesNo
    Modification of distributed extensionsYesNo
    Visual Studio intellisense code completionNoYes
    Debug execution with Visual StudioNoYes
    Compile wait time at the time of the first process callYesNone
    Processing PerformanceHighHigh
  • The recommended implementation is to compile from C# to .NET DLL. You can expect high productivity because you can use powerful development support functions such as intellisense and debugger that Visual Studio has. Various unique functions can be realized by using abundant .NET libraries, and you can develop small to large-scale extensions.

  • In the C# script implementation method, the processing contents can be made open. The users of the extension can also use it after confirming the processing details, and if they need to change it, they can change the script directly and execute it.

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

  • .NET DLL-style C# and script-style C# scripts share the same handler implementation code. Therefore, after debugging using Visual Studio in the .NET DLL method, it is also possible to make small modifications to the implemented C# source code and provide it as a C# script.