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

Represents a feature on a part
This is an abstract class, and cannot be instantiated. More...

Inheritance diagram for NXOpen::Features::Feature:
NXOpen::NXObject NXOpen::IProfile NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::INXObject NXOpen::BodyDes::OnestepUnform NXOpen::Die::Tip NXOpen::Features::AOCS NXOpen::Features::AssociativeArc NXOpen::Features::AssociativeLine NXOpen::Features::Bead NXOpen::Features::Bend NXOpen::Features::BodyFeature NXOpen::Features::BreakCorner NXOpen::Features::CircularBlendCurve NXOpen::Features::ClosedCorner NXOpen::Features::CombinedProjection NXOpen::Features::CompositeCurve NXOpen::Features::ContourFlange NXOpen::Features::ConvertToSheetmetal NXOpen::Features::CurveFeature NXOpen::Features::CurveLength NXOpen::Features::CurveOnSurface NXOpen::Features::DatumCsys NXOpen::Features::DatumFeature NXOpen::Features::Dimple NXOpen::Features::DrawnCutout NXOpen::Features::EdgeRip NXOpen::Features::Enlarge NXOpen::Features::FeatureGroup NXOpen::Features::Flange NXOpen::Features::FlatPattern NXOpen::Features::FlatSolid NXOpen::Features::FlexibleCable NXOpen::Features::Gusset NXOpen::Features::Human NXOpen::Features::InstanceFeature NXOpen::Features::Jog NXOpen::Features::JoinCurves NXOpen::Features::LawCurve NXOpen::Features::LoftedFlange NXOpen::Features::Louver NXOpen::Features::Manikin NXOpen::Features::Maple NXOpen::Features::MasterCut NXOpen::Features::Mirror NXOpen::Features::MirrorCurve NXOpen::Features::MoveObject NXOpen::Features::NormalCutout NXOpen::Features::PartModule NXOpen::Features::PatternFeature NXOpen::Features::PointFeature NXOpen::Features::RapidSurface NXOpen::Features::RasterImage NXOpen::Features::Rebend NXOpen::Features::ResizeBendAngle NXOpen::Features::ResizeBendRadius NXOpen::Features::ResizeNeutralFactor NXOpen::Features::ResizePlane NXOpen::Features::SeatBeltAnchorage NXOpen::Features::SectionCurve NXOpen::Features::ShipDesign::MarkingLine NXOpen::Features::ShipDesign::MarkingLineDesign NXOpen::Features::ShipDesign::ShellExpansion NXOpen::Features::SketchFeature NXOpen::Features::SolidPunch NXOpen::Features::StudioSpline NXOpen::Features::Tab NXOpen::Features::Text NXOpen::Features::ThreeBendCorner NXOpen::Features::TrimBody NXOpen::Features::Unbend NXOpen::Features::UserDefinedObjectFeature NXOpen::Features::VehicleCoordinateSystem NXOpen::Features::WaveDatum NXOpen::Features::WaveLink NXOpen::Features::WavePoint NXOpen::Features::WaveRouting NXOpen::Features::WaveSketch NXOpen::Features::WindshieldDatum NXOpen::Measure NXOpen::Routing::FeaturePort NXOpen::SketchIntersectionCurve NXOpen::SketchIntersectionPoint NXOpen::Weld::AutoPoint NXOpen::Weld::Extract NXOpen::Weld::Groove NXOpen::Weld::UserDefinedWeld NXOpen::Weld::WeldBead NXOpen::Weld::WeldPoint

List of all members.

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< NXStringGetFeatureClueHintMessages ()
 Returns both clue and hint messages of the feature.
std::vector< NXStringGetFeatureClueMessages ()
 Returns the feature clue messages.
std::vector< NXStringGetFeatureErrorMessages ()
 Returns the feature error messages.
std::vector< NXStringGetFeatureHintMessages ()
 Returns the feature hint messages.
std::vector< NXStringGetFeatureInformationalMessages ()
 Returns the feature informational messages.
NXString GetFeatureName ()
 Returns the displayed name of the feature.
std::vector< NXStringGetFeatureWarningMessages ()
 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.

Detailed Description

Represents a feature on a part
This is an abstract class, and cannot be instantiated.



Created in NX3.0.0.


Member Enumeration Documentation

Boolean operation type.

Enumerator:
BooleanTypeCreate 

Create.

BooleanTypeUnite 

Unite.

BooleanTypeSubtract 

Subtract.

BooleanTypeIntersect 

Intersect.

BooleanTypeEmbossOppositeNormalSide 

Emboss, keep tool opposite of normal side of sheet.

Diagnostic type.

Enumerator:
DiagnosticTypeWarning 

Warning.


Member Function Documentation

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

Returns the immediate child features.

Returns:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Returns the entities created by the feature.

Returns:

Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Returns the expressions created by the feature.

Returns:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Returns both clue and hint messages of the feature.

num_clueHint can be NULL

Returns:

Created in NX8.0.1.

License requirements : None

Returns the feature clue messages.

clue_messages can be NULL

Returns:

Created in NX8.0.1.

License requirements : None

Returns the feature error messages.

error_messages can be NULL

Returns:

Created in NX5.0.0.

License requirements : None

Returns the feature hint messages.

hint_messages can be NULL

Returns:

Created in NX8.0.1.

License requirements : None

Returns the feature informational messages.

info_messages can be NULL

Returns:

Created in NX5.0.0.

License requirements : None

Returns the displayed name of the feature.

Returns:
displayed name
Created in NX6.0.0.

License requirements : None

Returns the feature warning messages.

warning_messages can be NULL

Returns:

Created in NX5.0.0.

License requirements : None

Returns the immediate parent features.

Returns:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Queries a feature for list of its sections.

Returns:
Array of sections
Created in NX7.5.0.

License requirements : solid_modeling ("SOLIDS MODELING")

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

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

Parameters:
errorCodeerrorcode
message
NOTE: The full Unicode character set is not supported for this parameter.
diagnosticTypediagnostictype

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

Parameters:
dependentdependent

Remove Local feature parameters in history free mode.


Created in NX7.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

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

Parameters:
activeactive
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")

Parameters:
moveCurvesmove 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")

Parameters:
moveCurvesmove curves

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


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