Skip to main content

Command Line Extension Service

NDCLI does not support APIs in the NextDesign.Core.Desktop namespace, which are only available in desktop extensions. The IWorkspace.OpenProject() method is a prime example. (For information on available APIs, see here.)

The Command Line Extension Service provides alternative APIs for developing NDCLI command line extensions.

List

Service APIOverview
IProjectServiceProvides operations for projects.
IModelCopyServiceProvides model copy and paste operations.
IModelDuplicateServiceProvides model duplication operations.
IDiffServiceProvides project comparison functionality.
IErrorsServiceProvides access to project error information.
ISearchServiceProvides functionality for accessing project search result information.

Additional Information

IProjectService

  • Manual model file loading settings are not applied.
  • In editions with a limit on the number of models that can be created, creating new models is restricted when opening a project with models exceeding the limit.
  • When opening a project, registers an override of the getter for the "assigned model" of the feature (a class of product line model).

IModelCopyService

  • Delegates processing to the CopyPasteService in the Next Design core.
  • Unlike the Next Design core, it does not access the clipboard but instead references the ICopyContext interface for processing.