Life cycle

Description

Extensions have the following two types of life cycles depending on the target of extension.

  • Application life cycle

    Valid from the start of Next Design until it ends (extension common to Next Design regardless of project)

  • Project life cycle

    Valid from creation or opening of the corresponding project until closing (extension targeting specific project)

Extension execution flow

The general flow from extension loading to process execution is as follows.

  • When you start Next Design, the manifests and scripts and DLLs of all the extensions located in the specified folder are loaded.
  • The application lifecycle extension is enabled and the ribbon tabs and buttons defined in its manifest are added.
  • When you open a project in Next Design that has a target profile for a project lifecycle extension, that extension is enabled and the ribbon tabs and buttons defined in its manifest are added.
  • According to the extension point defined in the manifest, when the corresponding UI operation or event occurs, the command handler or event handler implemented in the extension will be called.

Reference

attention

  • If you change the extension or change the script while Next Design is running, those changes will not be reflected.
    • All extensions (manifest and DLL) are loaded when Next Design is started and are not reloaded during Next Design.
    • The extension script is also loaded at the timing of the first process call, and is not reloaded during Next Design execution.