NX Open C++ Reference Guide
|
Represents a feature on a part
This is an abstract class, and cannot be instantiated.
More...
Public Types | |
enum | BooleanType { BooleanTypeCreate, BooleanTypeUnite, BooleanTypeSubtract, BooleanTypeIntersect, BooleanTypeEmbossNormalSide = 8, BooleanTypeEmbossOppositeNormalSide } |
Boolean operation type. More... | |
enum | DiagnosticType { DiagnosticTypeInformation = 1, DiagnosticTypeWarning } |
Diagnostic type. More... | |
Public Member Functions | |
int | AlgorithmVersion () |
Returns the algorithm version of the feature Created in NX3.0.0. | |
void | DeleteClueAlerts () |
Delete all clue alerts from the features Created in NX8.0.1. | |
void | DeleteHintAlerts () |
Delete all clue alerts from the features Created in NX8.0.1. | |
void | DeleteInformationalAlerts () |
Delete all informational alerts from the features Created in NX5.0.0. | |
NXString | FeatureType () |
Returns the feature type Created in NX3.0.0. | |
std::vector < NXOpen::Features::Feature * > | GetChildren () |
Returns the immediate child features. | |
std::vector< NXOpen::NXObject * > | GetEntities () |
Returns the entities created by the feature. | |
std::vector< NXOpen::Expression * > | GetExpressions () |
Returns the expressions created by the feature. | |
std::vector< NXString > | GetFeatureClueHintMessages () |
Returns both clue and hint messages of the feature. | |
std::vector< NXString > | GetFeatureClueMessages () |
Returns the feature clue messages. | |
std::vector< NXString > | GetFeatureErrorMessages () |
Returns the feature error messages. | |
std::vector< NXString > | GetFeatureHintMessages () |
Returns the feature hint messages. | |
std::vector< NXString > | GetFeatureInformationalMessages () |
Returns the feature informational messages. | |
NXString | GetFeatureName () |
Returns the displayed name of the feature. | |
std::vector< NXString > | GetFeatureWarningMessages () |
Returns the feature warning messages. | |
std::vector < NXOpen::Features::Feature * > | GetParents () |
Returns the immediate parent features. | |
std::vector< NXOpen::Section * > | GetSections () |
Queries a feature for list of its sections. | |
void | HideBody () |
Hide the body created by the feature Created in NX3.0.0. | |
void | HideParents () |
Hide the body created by the parent feature Created in NX3.0.0. | |
void | Highlight () |
Highlight the body created by the feature Created in NX3.0.0. | |
bool | IsInternal () |
Returns true if the feature is internal. | |
NXOpen::Point3d | Location () |
Returns the location of the feature Created in NX3.0.0. | |
void | LogDiagnostic (int errorCode, const NXString &message, NXOpen::Features::Feature::DiagnosticType diagnosticType) |
Log a diagnostic alert for this feature Created in NX8.0.0. | |
void | MakeCurrentFeature () |
Make current feature Created in NX3.0.0. | |
void | MakeSketchExternal () |
Make the parent sketch external for reuse by other features. | |
void | MakeSketchInternal () |
Make the parent sketch internal if referenced only by this feature. | |
void | RemoveForEdit (bool dependent) |
Remove all the feature faces before a NoHistory mode edit. | |
void | RemoveParameters () |
Remove Local feature parameters in history free mode. | |
void | SetGroupActive (bool active) |
Set a feature group as active group. | |
void | ShowBody (bool moveCurves) |
Show the body created by the feature Created in NX3.0.0. | |
void | ShowDimensions () |
Show all feature dimensions of a feature. | |
void | ShowParents (bool moveCurves) |
Show the body created by the parent feature Created in NX3.0.0. | |
void | Suppress () |
Suppress the feature Created in NX3.0.0. | |
bool | Suppressed () |
Returns the suppression status of the feature Created in NX3.0.0. | |
int | Timestamp () |
Returns the timestamp of the feature Created in NX3.0.0. | |
void | Unhighlight () |
Unhighlight the body created by the feature Created in NX3.0.0. | |
void | Unsuppress () |
Unsuppress the feature Created in NX3.0.0. |
Represents a feature on a part
This is an abstract class, and cannot be instantiated.
Created in NX3.0.0.
Returns the algorithm version of the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Delete all clue alerts from the features
Created in NX8.0.1.
License requirements : None
Delete all clue alerts from the features
Created in NX8.0.1.
License requirements : None
Delete all informational alerts from the features
Created in NX5.0.0.
License requirements : None
Returns the feature type
Created in NX3.0.0.
License requirements : None
std::vector<NXOpen::Features::Feature *> NXOpen::Features::Feature::GetChildren | ( | ) |
Returns the immediate child features.
std::vector<NXOpen::NXObject *> NXOpen::Features::Feature::GetEntities | ( | ) |
Returns the entities created by the feature.
std::vector<NXOpen::Expression *> NXOpen::Features::Feature::GetExpressions | ( | ) |
Returns the expressions created by the feature.
std::vector<NXString> NXOpen::Features::Feature::GetFeatureClueHintMessages | ( | ) |
Returns both clue and hint messages of the feature.
num_clueHint can be NULL
std::vector<NXString> NXOpen::Features::Feature::GetFeatureClueMessages | ( | ) |
Returns the feature clue messages.
clue_messages can be NULL
std::vector<NXString> NXOpen::Features::Feature::GetFeatureErrorMessages | ( | ) |
Returns the feature error messages.
error_messages can be NULL
std::vector<NXString> NXOpen::Features::Feature::GetFeatureHintMessages | ( | ) |
Returns the feature hint messages.
hint_messages can be NULL
std::vector<NXString> NXOpen::Features::Feature::GetFeatureInformationalMessages | ( | ) |
Returns the feature informational messages.
info_messages can be NULL
Returns the displayed name of the feature.
std::vector<NXString> NXOpen::Features::Feature::GetFeatureWarningMessages | ( | ) |
Returns the feature warning messages.
warning_messages can be NULL
std::vector<NXOpen::Features::Feature *> NXOpen::Features::Feature::GetParents | ( | ) |
Returns the immediate parent features.
std::vector<NXOpen::Section *> NXOpen::Features::Feature::GetSections | ( | ) |
Queries a feature for list of its sections.
void NXOpen::Features::Feature::HideBody | ( | ) |
Hide the body created by the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Hide the body created by the parent feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Feature::Highlight | ( | ) |
Highlight the body created by the feature
Created in NX3.0.0.
License requirements : None
Returns true if the feature is internal.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the location of the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Feature::LogDiagnostic | ( | int | errorCode, |
const NXString & | message, | ||
NXOpen::Features::Feature::DiagnosticType | diagnosticType | ||
) |
Log a diagnostic alert for this feature
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
errorCode | errorcode |
message | NOTE: The full Unicode character set is not supported for this parameter. |
diagnosticType | diagnostictype |
Make current feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Make the parent sketch external for reuse by other features.
Created in NX5.0.1.
License requirements : solid_modeling ("SOLIDS MODELING")
Make the parent sketch internal if referenced only by this feature.
Created in NX5.0.1.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Feature::RemoveForEdit | ( | bool | dependent | ) |
Remove all the feature faces before a NoHistory mode edit.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
dependent | dependent |
Remove Local feature parameters in history free mode.
Created in NX7.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Feature::SetGroupActive | ( | bool | active | ) |
Set a feature group as active group.
If input is ja_NULL, set no feature group active
Created in NX7.5.1.
License requirements : solid_modeling ("SOLIDS MODELING")
active | active |
void NXOpen::Features::Feature::ShowBody | ( | bool | moveCurves | ) |
Show the body created by the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
moveCurves | move curves |
Show all feature dimensions of a feature.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Feature::ShowParents | ( | bool | moveCurves | ) |
Show the body created by the parent feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
moveCurves | move curves |
void NXOpen::Features::Feature::Suppress | ( | ) |
Suppress the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the suppression status of the feature
Created in NX3.0.0.
License requirements : None
Returns the timestamp of the feature
Created in NX3.0.0.
License requirements : None
Unhighlight the body created by the feature
Created in NX3.0.0.
License requirements : None
Unsuppress the feature
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")