NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Features::ReplaceFeatureBuilder Class Reference

Represents a replace feature builder. More...

Inheritance diagram for NXOpen::Features::ReplaceFeatureBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::FeatureReferencesBuilderFeatureReferences ()
 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::SelectFeatureListReplacementFeature ()
 Returns the selection list of replacement features
Created in NX6.0.0.
NXOpen::Features::SelectFeatureListSelectFeature ()
 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.

Detailed Description

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.


Member Enumeration Documentation

Type of mapping method to be used for replace feature.

Enumerator:
MappingMethodTypeMapOnlyObjectsWithModelingDependencies 

map only objects with modeling dependencies

MappingMethodTypeMapAllObjects 

Not supported yet.


Member Function Documentation

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

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.

Deprecated:
Deprecated in NX7.5.2.


Created in NX6.0.0.

License requirements : None

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

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

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")

Parameters:
copyReplacementFeaturecopyreplacementfeature

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")

Parameters:
deleteOriginalFeaturedeleteoriginalfeature

Sets the indication on whether to keep the original feature or not.

True indicates the feature should be kept.

Deprecated:
Deprecated in NX7.5.2.


Created in NX6.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
keepFeatureToReplacekeepfeaturetoreplace

Sets the mapping method
Created in NX6.0.0.



License requirements : None

Parameters:
mappingMethodmappingmethod

Sets the distance tolerance to use for mapping
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
mappingTolerancemappingtolerance

Set the matching reference using the index into the feature references
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
indicesIndex to use in the feature references builder
matchingTagMatching value

Set the matching reference using the parent to match in the feature references
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
parentTagParent to match in the feature references builder
matchingTagMatching value

Populate the feature references according to the replaced feature
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.