NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
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::FitCurve NXOpen::Features::Flange NXOpen::Features::FlatPattern NXOpen::Features::FlatSolid NXOpen::Features::FlexibleCable NXOpen::Features::GeneralConic NXOpen::Features::Geomcopy NXOpen::Features::Gusset NXOpen::Features::Helix NXOpen::Features::Human NXOpen::Features::InstanceFeature NXOpen::Features::IsolateFeature NXOpen::Features::Jog NXOpen::Features::JoinCurves NXOpen::Features::LawCurve NXOpen::Features::LoftedFlange NXOpen::Features::Louver 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::PatternGeometry NXOpen::Features::PointFeature NXOpen::Features::Prebend NXOpen::Features::RapidSurface NXOpen::Features::RasterImage NXOpen::Features::Rebend NXOpen::Features::ResizeBendAngle NXOpen::Features::ResizeBendRadius NXOpen::Features::ResizeNeutralFactor NXOpen::Features::ResizePlane NXOpen::Features::SectionCurve NXOpen::Features::ShipDesign::MarkingLine NXOpen::Features::ShipDesign::MarkingLineDesign NXOpen::Features::ShipDesign::OrientationDefinition NXOpen::Features::ShipDesign::ShellExpansion NXOpen::Features::ShipDesign::SmartRule NXOpen::Features::ShipDesign::SplitStandardPart NXOpen::Features::ShipDesign::StandardPartSCAssist NXOpen::Features::SketchFeature NXOpen::Features::SmoothCurveString NXOpen::Features::SolidPunch NXOpen::Features::StudioSpline NXOpen::Features::Tab NXOpen::Features::Text NXOpen::Features::ThreeBendCorner NXOpen::Features::TrimBody NXOpen::Features::Unbend NXOpen::Features::UniversalUnform NXOpen::Features::UserDefinedObjectFeature NXOpen::Features::VehicleDesign::CloseRangeVisibility NXOpen::Features::VehicleDesign::Manikin NXOpen::Features::VehicleDesign::SeatBeltAnchorage NXOpen::Features::VehicleDesign::VehicleCoordinateSystem NXOpen::Features::VehicleDesign::WindshieldDatum NXOpen::Features::WaveDatum NXOpen::Features::WaveLink NXOpen::Features::WavePoint NXOpen::Features::WaveRouting NXOpen::Features::WaveSketch NXOpen::LineDesigner::ColumnFeature NXOpen::LineDesigner::ConveyorStationFeature NXOpen::LineDesigner::GateFeature NXOpen::LineDesigner::RailingFeature NXOpen::LineDesigner::RailOpeningFeature NXOpen::LineDesigner::TypedConnectorFeature NXOpen::Measure NXOpen::Routing::FeaturePort NXOpen::SketchIntersectionCurve NXOpen::SketchIntersectionPoint NXOpen::Weld::AutoPoint NXOpen::Weld::CompoundWeld NXOpen::Weld::DatumPin NXOpen::Weld::DatumSurface NXOpen::Weld::Extract NXOpen::Weld::Groove NXOpen::Weld::Jointmark NXOpen::Weld::PointMark NXOpen::Weld::PointMarkPoint NXOpen::Weld::UserDefinedWeld NXOpen::Weld::WeldBead NXOpen::Weld::WeldPoint

Public Types

enum  BooleanType {
  BooleanTypeCreate, BooleanTypeUnite, BooleanTypeSubtract, BooleanTypeIntersect,
  BooleanTypeEmbossNormalSide = 8, BooleanTypeEmbossOppositeNormalSide
}
 Boolean operation type. More...
 
enum  DiagnosticType { DiagnosticTypeInformation = 1, DiagnosticTypeWarning }
 Diagnostic type. More...
 
- Public Types inherited from NXOpen::NXObject
enum  AttributeType {
  AttributeTypeInvalid, AttributeTypeNull, AttributeTypeBoolean, AttributeTypeInteger,
  AttributeTypeReal, AttributeTypeString, AttributeTypeTime, AttributeTypeReference,
  AttributeTypeAny = 100
}
 Specifies attribute type. More...
 
enum  DateAndTimeFormat { DateAndTimeFormatNumeric, DateAndTimeFormatTextual }
 Specifies the format of the date and time attribute. More...
 

Public Member Functions

int AlgorithmVersion ()
 Returns the algorithm version of the feature
More...
 
void ChangeBooleanType ()
 Change Boolean Type
Created in NX9.0.0. More...
 
NXOpen::Features::IContainerFeatureContainerFeature ()
 Returns the container feature for this feature. More...
 
void DeleteClueAlerts ()
 Delete all clue alerts from the features
Created in NX8.0.1. More...
 
void DeleteHintAlerts ()
 Delete all clue alerts from the features
Created in NX8.0.1. More...
 
void DeleteInformationalAlerts ()
 Delete all informational alerts from the features
Created in NX5.0.0. More...
 
void DeleteWarningAlerts ()
 Delete all warning alerts from the features
Created in NX10.0.0. More...
 
NXString FeatureType ()
 Returns the feature type
Created in NX3.0.0. More...
 
std::vector
< NXOpen::Features::Feature * > 
GetAllChildren ()
 Returns all immediate child features. More...
 
std::vector
< NXOpen::Features::Feature * > 
GetChildren ()
 Returns the immediate child features. More...
 
std::vector< NXOpen::NXObject * > GetEntities ()
 Returns the entities created by the feature. More...
 
std::vector< NXOpen::Expression * > GetExpressions ()
 Returns the expressions created by the feature. More...
 
std::vector< NXStringGetFeatureClueHintMessages ()
 Returns both clue and hint messages of the feature. More...
 
std::vector< NXStringGetFeatureClueMessages ()
 Returns the feature clue messages. More...
 
NXOpen::NXColorGetFeatureColor ()
 The feature color. More...
 
std::vector< NXStringGetFeatureErrorMessages ()
 Returns the feature error messages. More...
 
std::vector< NXStringGetFeatureHintMessages ()
 Returns the feature hint messages. More...
 
std::vector< NXStringGetFeatureInformationalMessages ()
 Returns the feature informational messages. More...
 
NXString GetFeatureName ()
 Returns the displayed name of the feature. More...
 
std::vector< NXStringGetFeatureWarningMessages ()
 Returns the feature warning messages. More...
 
std::vector
< NXOpen::Features::Feature * > 
GetParents ()
 Returns the immediate parent features. More...
 
std::vector< NXOpen::Section * > GetSections ()
 Queries a feature for list of its sections. More...
 
void HideBody ()
 Hide the body created by the feature
Created in NX3.0.0. More...
 
void HideParents ()
 Hide the body created by the parent feature
Created in NX3.0.0. More...
 
void Highlight ()
 Highlight the body created by the feature
Created in NX3.0.0. More...
 
bool IsContainedFeature ()
 Returns true if the feature is a contained feature. More...
 
bool IsInternal ()
 Returns true if the feature is internal. More...
 
NXOpen::Point3d Location ()
 Returns the location of the feature
Created in NX3.0.0. More...
 
void LogDiagnostic (int errorCode, const NXString &message, NXOpen::Features::Feature::DiagnosticType diagnosticType)
 Log a diagnostic alert for this feature
Created in NX8.0.0. More...
 
void LogDiagnostic (int errorCode, const char *message, NXOpen::Features::Feature::DiagnosticType diagnosticType)
 Log a diagnostic alert for this feature
Created in NX8.0.0. More...
 
void MakeCurrentFeature ()
 Make current feature
Created in NX3.0.0. More...
 
void MakeSketchExternal ()
 Make the parent sketch external for reuse by other features. More...
 
void MakeSketchInternal ()
 Make the parent sketch internal if referenced only by this feature. More...
 
void RemoveForEdit (bool dependent)
 Remove all the feature faces before a NoHistory mode edit. More...
 
void RemoveParameters ()
 Remove Local feature parameters in history free mode. More...
 
void SetGroupActive (bool active)
 Set a feature group as active group. More...
 
void ShowBody (bool moveCurves)
 Show the body created by the feature
Created in NX3.0.0. More...
 
void ShowDimensions ()
 Show all feature dimensions of a feature. More...
 
void ShowParents (bool moveCurves)
 Show the body created by the parent feature
Created in NX3.0.0. More...
 
void Suppress ()
 Suppress the feature
Created in NX3.0.0. More...
 
bool Suppressed ()
 Returns the suppression status of the feature
Created in NX3.0.0. More...
 
int Timestamp ()
 Returns the timestamp of the feature
Created in NX3.0.0. More...
 
void Unhighlight ()
 Unhighlight the body created by the feature
Created in NX3.0.0. More...
 
void Unsuppress ()
 Unsuppress the feature
Created in NX3.0.0. More...
 
- Public Member Functions inherited from NXOpen::NXObject
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type)
 Deletes all attributes of a specific type. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes all attributes of a specific type with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes the attributes encountered with the given Type with option to update or not. More...
 
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type)
 Gets all the attribute titles of a specific type. More...
 
bool GetBooleanUserAttribute (const NXString &title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
bool GetBooleanUserAttribute (const char *title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
int GetIntegerAttribute (const NXString &title)
 Gets an integer attribute by title. More...
 
int GetIntegerAttribute (const char *title)
 Gets an integer attribute by title. More...
 
int GetIntegerUserAttribute (const NXString &title, int index)
 Gets an integer attribute by Title and array Index. More...
 
int GetIntegerUserAttribute (const char *title, int index)
 Gets an integer attribute by Title and array Index. More...
 
double GetRealAttribute (const NXString &title)
 Gets a real attribute by title. More...
 
double GetRealAttribute (const char *title)
 Gets a real attribute by title. More...
 
double GetRealUserAttribute (const NXString &title, int index)
 Gets a real attribute by Title and array Index. More...
 
double GetRealUserAttribute (const char *title, int index)
 Gets a real attribute by Title and array Index. More...
 
NXString GetReferenceAttribute (const NXString &title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetReferenceAttribute (const char *title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetStringAttribute (const NXString &title)
 Gets a string attribute value by title. More...
 
NXString GetStringAttribute (const char *title)
 Gets a string attribute value by title. More...
 
NXString GetStringUserAttribute (const NXString &title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetStringUserAttribute (const char *title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title)
 Gets a time attribute by title. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title)
 Gets a time attribute by title. More...
 
NXString GetTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXString GetTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const NXString &title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const char *title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
NXString GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
NXString GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type)
 Gets the count of set attributes on the object, if any, of the given type. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type, bool includeUnset, bool countArrayAsOneAttribute)
 Gets the count of attributes on the object, if any, of the given type. More...
 
bool GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
bool GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes ()
 Gets all the attributes that have been set on the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset)
 Gets all the attributes of the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset, bool addStringValues)
 Gets all the attributes of the given object. More...
 
std::vector< NXStringGetUserAttributesAsStrings ()
 Gets all the attributes that have been set on the given object. More...
 
int GetUserAttributeSize (const NXString &title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
int GetUserAttributeSize (const char *title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
std::vector< NXOpen::NXObject * > GetUserAttributeSourceObjects ()
 Returns an array of objects from which this object presents attributes. More...
 
bool HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
bool HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
virtual bool IsOccurrence ()
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()
 Returns the prototype of this object if it is an occurrence. More...
 
void SetAttribute (const NXString &title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const char *title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const NXString &title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const char *title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const char *title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const NXString &title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const char *title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const char *title, const char *value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const char *title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const NXString &title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetAttribute (const char *title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
virtual void SetName (const NXString &name)
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)
 Sets the custom name of the object. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const char *title, const char *value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const char *title, const char *value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option)
 Creates or modifies an attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
void SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

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

int NXOpen::Features::Feature::AlgorithmVersion ( )

Returns the algorithm version of the feature

Deprecated:
Deprecated in NX8.5.0.

Algorithm version is for internal use only. There is no replacement for this method.


Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::ChangeBooleanType ( )

Change Boolean Type
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

NXOpen::Features::IContainerFeature* NXOpen::Features::Feature::ContainerFeature ( )

Returns the container feature for this feature.

Will be set to NULL if this feature is not a contained feature.
Created in NX8.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::DeleteClueAlerts ( )

Delete all clue alerts from the features
Created in NX8.0.1.



License requirements : None

void NXOpen::Features::Feature::DeleteHintAlerts ( )

Delete all clue alerts from the features
Created in NX8.0.1.



License requirements : None

void NXOpen::Features::Feature::DeleteInformationalAlerts ( )

Delete all informational alerts from the features
Created in NX5.0.0.



License requirements : None

void NXOpen::Features::Feature::DeleteWarningAlerts ( )

Delete all warning alerts from the features
Created in NX10.0.0.



License requirements : None

NXString NXOpen::Features::Feature::FeatureType ( )

Returns the feature type
Created in NX3.0.0.



License requirements : None

std::vector<NXOpen::Features::Feature *> NXOpen::Features::Feature::GetAllChildren ( )

Returns all immediate child features.

Returns

Created in NX9.0.1.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
std::vector<NXOpen::Features::Feature *> NXOpen::Features::Feature::GetChildren ( )

Returns the immediate child features.

Returns

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")
std::vector<NXOpen::NXObject *> NXOpen::Features::Feature::GetEntities ( )

Returns the entities created by the feature.

Returns

Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")
std::vector<NXOpen::Expression *> NXOpen::Features::Feature::GetExpressions ( )

Returns the expressions created by the feature.

Returns

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")
std::vector<NXString> NXOpen::Features::Feature::GetFeatureClueHintMessages ( )

Returns both clue and hint messages of the feature.

num_clueHint can be NULL

Returns

Created in NX8.0.1.

License requirements : None
std::vector<NXString> NXOpen::Features::Feature::GetFeatureClueMessages ( )

Returns the feature clue messages.

clue_messages can be NULL

Returns

Created in NX8.0.1.

License requirements : None
NXOpen::NXColor* NXOpen::Features::Feature::GetFeatureColor ( )

The feature color.

Returns

Created in NX9.0.1.

License requirements : None
std::vector<NXString> NXOpen::Features::Feature::GetFeatureErrorMessages ( )

Returns the feature error messages.

error_messages can be NULL

Returns

Created in NX5.0.0.

License requirements : None
std::vector<NXString> NXOpen::Features::Feature::GetFeatureHintMessages ( )

Returns the feature hint messages.

hint_messages can be NULL

Returns

Created in NX8.0.1.

License requirements : None
std::vector<NXString> NXOpen::Features::Feature::GetFeatureInformationalMessages ( )

Returns the feature informational messages.

info_messages can be NULL

Returns

Created in NX5.0.0.

License requirements : None
NXString NXOpen::Features::Feature::GetFeatureName ( )

Returns the displayed name of the feature.

Returns
displayed name
Created in NX6.0.0.

License requirements : None
std::vector<NXString> NXOpen::Features::Feature::GetFeatureWarningMessages ( )

Returns the feature warning messages.

warning_messages can be NULL

Returns

Created in NX5.0.0.

License requirements : None
std::vector<NXOpen::Features::Feature *> NXOpen::Features::Feature::GetParents ( )

Returns the immediate parent features.

Returns

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
std::vector<NXOpen::Section *> NXOpen::Features::Feature::GetSections ( )

Queries a feature for list of its sections.

Returns
Array of sections
Created in NX7.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")
void NXOpen::Features::Feature::HideBody ( )

Hide the body created by the feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::HideParents ( )

Hide the body created by the parent feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::Highlight ( )

Highlight the body created by the feature
Created in NX3.0.0.



License requirements : None

bool NXOpen::Features::Feature::IsContainedFeature ( )

Returns true if the feature is a contained feature.

If it is a contained feature, use the property NXOpen::Features::Feature::ContainerFeature to get the container feature for this feature.

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Features::Feature::ContainerFeature and check if it is NULL instead.


Created in NX8.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

bool NXOpen::Features::Feature::IsInternal ( )

Returns true if the feature is internal.


Created in NX6.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

NXOpen::Point3d NXOpen::Features::Feature::Location ( )

Returns the location of the feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")

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") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

Parameters
errorCodeerrorcode
message
NOTE: The full Unicode character set is not supported for this parameter.
diagnosticTypediagnostictype
void NXOpen::Features::Feature::LogDiagnostic ( int  errorCode,
const char *  message,
NXOpen::Features::Feature::DiagnosticType  diagnosticType 
)

Log a diagnostic alert for this feature
Created in NX8.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

Parameters
errorCodeerrorcode
message
NOTE: The full Unicode character set is not supported for this parameter.
diagnosticTypediagnostictype
void NXOpen::Features::Feature::MakeCurrentFeature ( )

Make current feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::MakeSketchExternal ( )

Make the parent sketch external for reuse by other features.


Created in NX5.0.1.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

void NXOpen::Features::Feature::MakeSketchInternal ( )

Make the parent sketch internal if referenced only by this feature.


Created in NX5.0.1.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

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") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

Parameters
dependentdependent
void NXOpen::Features::Feature::RemoveParameters ( )

Remove Local feature parameters in history free mode.


Created in NX7.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

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") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

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") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

Parameters
moveCurvesmove curves
void NXOpen::Features::Feature::ShowDimensions ( )

Show all feature dimensions of a feature.


Created in NX6.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

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") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

Parameters
moveCurvesmove curves
void NXOpen::Features::Feature::Suppress ( )

Suppress the feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")

bool NXOpen::Features::Feature::Suppressed ( )

Returns the suppression status of the feature
Created in NX3.0.0.



License requirements : None

int NXOpen::Features::Feature::Timestamp ( )

Returns the timestamp of the feature
Created in NX3.0.0.



License requirements : None

void NXOpen::Features::Feature::Unhighlight ( )

Unhighlight the body created by the feature
Created in NX3.0.0.



License requirements : None

void NXOpen::Features::Feature::Unsuppress ( )

Unsuppress the feature
Created in NX3.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT")


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