Skip to main content

IProjectUnitManager Interface

Namespace: NextDesign.Core

Description

Physical file configuration management object for the project.

Belonging area

NameDescription
Workspace/ProjectA group of APIs to access the application workspace and projects open in the application.

Property

NameDescription
ModelUnitsModel unit information managed by this project.
If there are no managed units for the project, an empty collection is returned.
Project units are not included.
ProjectUnitUnit (physical file) information for this project.
Returns null if the project has not been saved.

Method

NameDescription
AddExternalUnitsRegisters the specified file as a reference model unit.
ExportModelUnitExports the specified model unit to the specified file path.
ExportModelUnitsExports all specified model units to the specified folder path.
The exported file name will be the same as the original unit file name.
ImportModelUnits(IEnumerable<string>,string)Imports the specified file as a model unit.
If the folder specified as the import destination does not exist, a folder up to the specified folder will be created.
If the unit file does not exist directly under the folder specified as the import destination, the file will be copied directly under that folder and imported.
If the unit file exists directly under the folder specified as the import destination, the file will be imported.
ImportModelUnits(IEnumerable<string>)Imports the specified file as a model unit.
If the unit file does not exist directly under the Models folder, the file will be copied directly under the Models folder and imported.
If the unit file exists directly under the Models folder, the file will be imported.
SplitModelUnit(IModel,string,string)Splits the specified model into unit files with the specified names.
The split unit files will be added to the specified folder.
SplitModelUnit(IModel,string)Splits the specified model into unit files with the specified names.
SplitModelUnits(IEnumerable<IModel>,string)Splits all the specified models into unit files.
The file names of the split unit files are automatically determined to be unique using the model names.
The split unit files are added to the specified folder.
SplitModelUnits(IEnumerable<IModel>)Splits all the specified models into unit files.
The file names of the split unit files are automatically determined to be unique using the model names.
UnifyModelUnitUnifys the specified unit into the parent unit.
The parent unit to be merged is the unit that contains the parent element in the model structure for the base element of the specified unit.
UnifyModelUnitsMerge all specified units into the parent unit.