NX Open C++ Reference Guide
|
Represents a replace feature builder. More...
Public Types | |
enum | MappingMethodType { MappingMethodTypeMapOnlyObjectsWithModelingDependencies, MappingMethodTypeMapAllObjects } |
Type of mapping method to be used for replace feature. More... | |
Public Member Functions | |
void | AutomatchMap () |
Match the map automatically Created in NX6.0.0. | |
bool | CopyReplacementFeature () |
Returns the indication on whether to copy the replacement feature. | |
bool | DeleteOriginalFeature () |
Returns the indication on whether to delete the original feature or not. | |
NXOpen::Features::FeatureReferencesBuilder * | FeatureReferences () |
Returns the feature references builder Created in NX6.0.0. | |
bool | KeepFeatureToReplace () |
Returns the indication on whether to keep the original feature or not. | |
NXOpen::Features::ReplaceFeatureBuilder::MappingMethodType | MappingMethod () |
Returns the mapping method Created in NX6.0.0. | |
double | MappingTolerance () |
Returns the distance tolerance to use for mapping Created in NX6.0.0. | |
NXOpen::Features::SelectFeatureList * | ReplacementFeature () |
Returns the selection list of replacement features Created in NX6.0.0. | |
NXOpen::Features::SelectFeatureList * | SelectFeature () |
Returns the selection list of features to be replaced Created in NX6.0.0. | |
void | SetCopyReplacementFeature (bool copyReplacementFeature) |
Sets the indication on whether to copy the replacement feature. | |
void | SetDeleteOriginalFeature (bool deleteOriginalFeature) |
Sets the indication on whether to delete the original feature or not. | |
void | SetKeepFeatureToReplace (bool keepFeatureToReplace) |
Sets the indication on whether to keep the original feature or not. | |
void | SetMappingMethod (NXOpen::Features::ReplaceFeatureBuilder::MappingMethodType mappingMethod) |
Sets the mapping method Created in NX6.0.0. | |
void | SetMappingTolerance (double mappingTolerance) |
Sets the distance tolerance to use for mapping Created in NX6.0.0. | |
void | SetMatchingForIndex (int indices, NXOpen::NXObject *matchingTag) |
Set the matching reference using the index into the feature references Created in NX6.0.0. | |
void | SetMatchingForParent (NXOpen::NXObject *parentTag, NXOpen::NXObject *matchingTag) |
Set the matching reference using the parent to match in the feature references Created in NX6.0.0. | |
void | UpdateMap () |
Populate the feature references according to the replaced feature Created in NX6.0.0. |
Represents a replace feature builder.
The replace features does not create a feature, but assists the user through the process of replacing a feature with a new one.
To create a new instance of this class, use Features::FeatureCollection::CreateReplaceFeatureBuilder
Default values.
Property | Value |
---|---|
CopyReplacementFeature |
0 |
DeleteOriginalFeature |
0 |
MappingMethod |
MapOnlyObjectsWithModelingDependencies |
Created in NX6.0.0.
Match the map automatically
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the indication on whether to copy the replacement feature.
True indicates that the replacement feature should be copied before replacing the specified feature.
Created in NX6.0.0.
License requirements : None
Returns the indication on whether to delete the original feature or not.
True indicates the feature should be deleted.
Created in NX7.5.2.
License requirements : None
NXOpen::Features::FeatureReferencesBuilder* NXOpen::Features::ReplaceFeatureBuilder::FeatureReferences | ( | ) |
Returns the feature references builder
Created in NX6.0.0.
License requirements : None
Returns the indication on whether to keep the original feature or not.
True indicates the feature should be kept.
Created in NX6.0.0.
License requirements : None
NXOpen::Features::ReplaceFeatureBuilder::MappingMethodType NXOpen::Features::ReplaceFeatureBuilder::MappingMethod | ( | ) |
Returns the mapping method
Created in NX6.0.0.
License requirements : None
Returns the distance tolerance to use for mapping
Created in NX6.0.0.
License requirements : None
NXOpen::Features::SelectFeatureList* NXOpen::Features::ReplaceFeatureBuilder::ReplacementFeature | ( | ) |
Returns the selection list of replacement features
Created in NX6.0.0.
License requirements : None
Returns the selection list of features to be replaced
Created in NX6.0.0.
License requirements : None
void NXOpen::Features::ReplaceFeatureBuilder::SetCopyReplacementFeature | ( | bool | copyReplacementFeature | ) |
Sets the indication on whether to copy the replacement feature.
True indicates that the replacement feature should be copied before replacing the specified feature.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
copyReplacementFeature | copyreplacementfeature |
void NXOpen::Features::ReplaceFeatureBuilder::SetDeleteOriginalFeature | ( | bool | deleteOriginalFeature | ) |
Sets the indication on whether to delete the original feature or not.
True indicates the feature should be deleted.
Created in NX7.5.2.
License requirements : solid_modeling ("SOLIDS MODELING")
deleteOriginalFeature | deleteoriginalfeature |
void NXOpen::Features::ReplaceFeatureBuilder::SetKeepFeatureToReplace | ( | bool | keepFeatureToReplace | ) |
Sets the indication on whether to keep the original feature or not.
True indicates the feature should be kept.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
keepFeatureToReplace | keepfeaturetoreplace |
void NXOpen::Features::ReplaceFeatureBuilder::SetMappingMethod | ( | NXOpen::Features::ReplaceFeatureBuilder::MappingMethodType | mappingMethod | ) |
Sets the mapping method
Created in NX6.0.0.
License requirements : None
mappingMethod | mappingmethod |
void NXOpen::Features::ReplaceFeatureBuilder::SetMappingTolerance | ( | double | mappingTolerance | ) |
Sets the distance tolerance to use for mapping
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
mappingTolerance | mappingtolerance |
void NXOpen::Features::ReplaceFeatureBuilder::SetMatchingForIndex | ( | int | indices, |
NXOpen::NXObject * | matchingTag | ||
) |
Set the matching reference using the index into the feature references
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
indices | Index to use in the feature references builder |
matchingTag | Matching value |
void NXOpen::Features::ReplaceFeatureBuilder::SetMatchingForParent | ( | NXOpen::NXObject * | parentTag, |
NXOpen::NXObject * | matchingTag | ||
) |
Set the matching reference using the parent to match in the feature references
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentTag | Parent to match in the feature references builder |
matchingTag | Matching value |
Populate the feature references according to the replaced feature
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")