IFeatureModel Interface
Namespace: NextDesign.Core
Description
This is an access object for the management model that structures the features of the product.
Belonging Area
Name | Description |
---|---|
Product Line | A group of APIs to access the product line model. |
Inherit Base
Name | Description |
---|---|
IModel | Provides a means of accessing the design model information of NextDesign. |
Property
Name | Description |
---|---|
AllFeatures | List of all features held under this model The order of the feature list obtained with this property is undefined. If you want to obtain them in depth-first order, cast the model obtained with IModel.GetAllChildren to IFeature. |
RootFeatures | List of features that are the base of the feature tree |
Method
Name | Description |
---|---|
AddFeatureConstraint | Adds a constraint relationship of the specified type between the specified features. |
AddNewFeature | Adds a new base feature. |
AddNewFeatureAt | Adds a new feature as a child element of the specified feature. |
GetFeature | Gets the feature with the specified name from all features held under this model. Returns null if no matching feature exists. |
GetFeatureConstraint | Gets the constraint relationship of the specified type between the specified features. |
RemoveFeature | Removes the specified feature. If the feature to be deleted has child features, they will all be deleted. |
RemoveFeatureByName | Deletes the feature with the specified name. If the feature to be deleted has child features, they will all be deleted. |
RemoveFeatureConstraint | Deletes the specified type of constraint relationship between the specified features. |