NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::ChamferBuilder Class Reference

Represents the chamfer builder data. More...

Inheritance diagram for NXOpen::Features::ChamferBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  ChamferOption { ChamferOptionSymmetricOffsets, ChamferOptionTwoOffsets, ChamferOptionOffsetAndAngle }
 This enum represents the chamfer parameter options. More...
 
enum  OffsetMethod { OffsetMethodEdgesAlongFaces, OffsetMethodFacesAndTrim }
 This enum represents the offset method options. More...
 

Public Member Functions

bool AllInstances ()
 Returns the chamfer all instance status
Created in NX4.0.0. More...
 
NXString Angle ()
 Returns the chamfer angle (expression). More...
 
NXOpen::ExpressionAngleExp ()
 Returns the angle expression object of chamfer. More...
 
int CreatePreview ()
 Creates the chamfer preview body. More...
 
NXString FirstOffset ()
 Returns the first offset distance (expression). More...
 
NXOpen::ExpressionFirstOffsetExp ()
 Returns the first offset expression object of chamfer. More...
 
NXOpen::Features::ChamferBuilder::OffsetMethod Method ()
 Returns the offset method. More...
 
NXOpen::Features::ChamferBuilder::ChamferOption Option ()
 Returns the chamfer parameter option. More...
 
bool ReverseOffsets ()
 Returns the offset reverse status
Created in NX4.0.0. More...
 
NXString SecondOffset ()
 Returns the second offset distance (expression). More...
 
NXOpen::ExpressionSecondOffsetExp ()
 Returns the second offset expression object of chamfer. More...
 
void SetAllInstances (bool allInstances)
 Sets the chamfer all instance status
Created in NX4.0.0. More...
 
void SetAngle (const NXString &angleExpression)
 Sets the chamfer angle (expression). More...
 
void SetAngle (const char *angleExpression)
 Sets the chamfer angle (expression). More...
 
void SetFirstOffset (const NXString &offsetExpression)
 Sets the first offset distance (expression). More...
 
void SetFirstOffset (const char *offsetExpression)
 Sets the first offset distance (expression). More...
 
void SetMethod (NXOpen::Features::ChamferBuilder::OffsetMethod method)
 Sets the offset method. More...
 
void SetOption (NXOpen::Features::ChamferBuilder::ChamferOption opt)
 Sets the chamfer parameter option. More...
 
void SetReverseOffsets (bool reverse)
 Sets the offset reverse status
Created in NX4.0.0. More...
 
void SetSecondOffset (const NXString &offsetExpression)
 Sets the second offset distance (expression). More...
 
void SetSecondOffset (const char *offsetExpression)
 Sets the second offset distance (expression). More...
 
void SetSmartCollector (NXOpen::ScCollector *sc)
 Sets the smart collector
Created in NX4.0.0. More...
 
void SetTolerance (double tolerance)
 Sets the tolerance used for creating chamfer
Created in NX6.0.0. More...
 
NXOpen::ScCollectorSmartCollector ()
 Returns the smart collector
Created in NX4.0.0. More...
 
double Tolerance ()
 Returns the tolerance used for creating chamfer
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 Returns the feature currently being edited by this builder. More...
 
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
bool ParentFeatureInternal ()
 Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
bool PatchSolutionFlag ()
 Returns the patch solution flag
Created in NX8.0.1. More...
 
NXString PatchSurfaceFilename ()
 Returns the patch surface filename
Created in NX8.0.1. More...
 
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited
Created in NX6.0.0. More...
 
void SetParentFeatureInternal (bool isInternal)
 Sets whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
void SetPatchSolutionFlag (bool optionValue)
 Sets the patch solution flag
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const NXString &surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const char *surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
NXString SurroundingPatchSurfaceFilename ()
 Returns the surrounding patch surface filename
Created in NX8.0.1. More...
 
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the internal parent feature of the feature being edited to external
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the chamfer builder data.


To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateChamferBuilder

Created in NX4.0.0.

Member Enumeration Documentation

This enum represents the chamfer parameter options.

Enumerator
ChamferOptionSymmetricOffsets 

Symmetric offsets.

ChamferOptionTwoOffsets 

Two offset distances.

ChamferOptionOffsetAndAngle 

Offset distance and angle.

This enum represents the offset method options.

Enumerator
OffsetMethodEdgesAlongFaces 

Offset edges along faces.

OffsetMethodFacesAndTrim 

Offset faces and trim.

Member Function Documentation

bool NXOpen::Features::ChamferBuilder::AllInstances ( )

Returns the chamfer all instance status
Created in NX4.0.0.



License requirements : None

NXString NXOpen::Features::ChamferBuilder::Angle ( )

Returns the chamfer angle (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::ChamferBuilder::AngleExp ( )

Returns the angle expression object of chamfer.


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

int NXOpen::Features::ChamferBuilder::CreatePreview ( )

Creates the chamfer preview body.

Returns
Parasolid body
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
NXString NXOpen::Features::ChamferBuilder::FirstOffset ( )

Returns the first offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::ChamferBuilder::FirstOffsetExp ( )

Returns the first offset expression object of chamfer.


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

NXOpen::Features::ChamferBuilder::OffsetMethod NXOpen::Features::ChamferBuilder::Method ( )

Returns the offset method.


Features::ChamferBuilder::OffsetMethodEdgesAlongFaces Features::ChamferBuilder::OffsetMethodFacesAndTrim
The EdgesAlongFaces method is the normal chamfer in which the chamfer boundary is determined by offsetting the input edges along its adjacent faces. The FacesAndTrim method is the free-form chamfer in which the chamfer boundary is determined by offsetting the adjacent faces of the input edges, using the chamfer parameters in either case.


Created in NX4.0.0.

License requirements : None

NXOpen::Features::ChamferBuilder::ChamferOption NXOpen::Features::ChamferBuilder::Option ( )

Returns the chamfer parameter option.


Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionOffsetAndAngle
Each of these options correspond to a chamfer defined by two equal offset distances, two unequal offset distances, an offset distance and angle respectively.


Created in NX4.0.0.

License requirements : None

bool NXOpen::Features::ChamferBuilder::ReverseOffsets ( )

Returns the offset reverse status
Created in NX4.0.0.



License requirements : None

NXString NXOpen::Features::ChamferBuilder::SecondOffset ( )

Returns the second offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::ChamferBuilder::SecondOffsetExp ( )

Returns the second offset expression object of chamfer.


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

void NXOpen::Features::ChamferBuilder::SetAllInstances ( bool  allInstances)

Sets the chamfer all instance status
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
allInstancesall instances
void NXOpen::Features::ChamferBuilder::SetAngle ( const NXString angleExpression)

Sets the chamfer angle (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
angleExpressionangle expression
void NXOpen::Features::ChamferBuilder::SetAngle ( const char *  angleExpression)

Sets the chamfer angle (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
angleExpressionangle expression
void NXOpen::Features::ChamferBuilder::SetFirstOffset ( const NXString offsetExpression)

Sets the first offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
offsetExpressionoffset expression
void NXOpen::Features::ChamferBuilder::SetFirstOffset ( const char *  offsetExpression)

Sets the first offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
offsetExpressionoffset expression
void NXOpen::Features::ChamferBuilder::SetMethod ( NXOpen::Features::ChamferBuilder::OffsetMethod  method)

Sets the offset method.


Features::ChamferBuilder::OffsetMethodEdgesAlongFaces Features::ChamferBuilder::OffsetMethodFacesAndTrim
The EdgesAlongFaces method is the normal chamfer in which the chamfer boundary is determined by offsetting the input edges along its adjacent faces. The FacesAndTrim method is the free-form chamfer in which the chamfer boundary is determined by offsetting the adjacent faces of the input edges, using the chamfer parameters in either case.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
methodmethod
void NXOpen::Features::ChamferBuilder::SetOption ( NXOpen::Features::ChamferBuilder::ChamferOption  opt)

Sets the chamfer parameter option.


Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionOffsetAndAngle
Each of these options correspond to a chamfer defined by two equal offset distances, two unequal offset distances, an offset distance and angle respectively.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
optopt
void NXOpen::Features::ChamferBuilder::SetReverseOffsets ( bool  reverse)

Sets the offset reverse status
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
reversereverse
void NXOpen::Features::ChamferBuilder::SetSecondOffset ( const NXString offsetExpression)

Sets the second offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
offsetExpressionoffset expression
void NXOpen::Features::ChamferBuilder::SetSecondOffset ( const char *  offsetExpression)

Sets the second offset distance (expression).

Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
offsetExpressionoffset expression
void NXOpen::Features::ChamferBuilder::SetSmartCollector ( NXOpen::ScCollector sc)

Sets the smart collector
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
scsc
void NXOpen::Features::ChamferBuilder::SetTolerance ( double  tolerance)

Sets the tolerance used for creating chamfer
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
tolerancetolerance
NXOpen::ScCollector* NXOpen::Features::ChamferBuilder::SmartCollector ( )

Returns the smart collector
Created in NX4.0.0.



License requirements : None

double NXOpen::Features::ChamferBuilder::Tolerance ( )

Returns the tolerance used for creating chamfer
Created in NX6.0.0.



License requirements : None


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