Skip to main content

IFeatureModel Interface

Namespace: NextDesign.Core

Description

This is an access object for the management model that structures the features of the product.

Belonging Area

NameDescription
Product LineA group of APIs to access the product line model.

Inherit Base

NameDescription
IModelProvides a means of accessing the design model information of NextDesign.

Property

NameDescription
AllFeaturesList 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.
RootFeaturesList of features that are the base of the feature tree

Method

NameDescription
AddFeatureConstraintAdds a constraint relationship of the specified type between the specified features.
AddNewFeatureAdds a new base feature.
AddNewFeatureAtAdds a new feature as a child element of the specified feature.
GetFeatureGets the feature with the specified name from all features held under this model.
Returns null if no matching feature exists.
GetFeatureConstraintGets the constraint relationship of the specified type between the specified features.
RemoveFeatureRemoves the specified feature.
If the feature to be deleted has child features, they will all be deleted.
RemoveFeatureByNameDeletes the feature with the specified name.
If the feature to be deleted has child features, they will all be deleted.
RemoveFeatureConstraintDeletes the specified type of constraint relationship between the specified features.