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

Represents a builder for a Patch Openings feature. More...

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

Public Types

enum  OutputTypes { OutputTypesSingleFeature, OutputTypesMultipleFeatures, OutputTypesSew }
 Indicates what to output. More...
 
enum  Types {
  TypesQuilted, TypesNSided, TypesMesh, TypesByDeletingEdges,
  TypesExtension, TypesNotch, TypesJoggle, TypesMoldWizard,
  TypesBySuppression
}
 The method used to patch the opening. More...
 

Public Member Functions

void CreatePathFromOpening (std::vector< NXOpen::NXObject * > &objectArray, NXOpen::NXObject **path)
 Create a closed curve (path) from the currently selected opening. More...
 
NXOpen::ExpressionCutoutLength ()
 Returns the cutout length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::ExpressionCutoutRadius ()
 Returns the cutout radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::ExpressionDistance ()
 Returns the extension distance, used only when type is Features::PatchOpeningsBuilder::TypesExtension
Created in NX6.0.0. More...
 
double DistanceTolerance ()
 Returns the distance tolerance. More...
 
NXOpen::ScCollectorDividingCurves ()
 Returns the curves used to divide the opening. More...
 
NXOpen::ScCollectorFaces ()
 Returns the faces to form patching boundary. More...
 
void FindOpenings (bool filterNoise)
 Find all valid openings based upon input faces. More...
 
NXOpen::Die::DieLimitsBuilderLimits ()
 Returns the limits to control the span of the patch
Created in NX7.5.0. More...
 
NXOpen::ScCollectorOpenings ()
 Returns the edges defining the openings to patch. More...
 
NXOpen::Features::PatchOpeningsBuilder::OutputTypes Output ()
 Returns the type of output desired - one feature, multiple features, sewn. More...
 
void SetDistanceTolerance (double distTol)
 Sets the distance tolerance. More...
 
void SetOutput (NXOpen::Features::PatchOpeningsBuilder::OutputTypes type)
 Sets the type of output desired - one feature, multiple features, sewn. More...
 
void SetShelfPoint1 (NXOpen::Point *point)
 Sets the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
void SetShelfPoint2 (NXOpen::Point *point)
 Sets the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
void SetType (NXOpen::Features::PatchOpeningsBuilder::Types type)
 Sets the method used to patch the opening
Created in NX6.0.0. More...
 
NXOpen::ExpressionShelfLength ()
 Returns the shelf length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::PointShelfPoint1 ()
 Returns the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::PointShelfPoint2 ()
 Returns the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::ExpressionShelfRadius ()
 Returns the shelf radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0. More...
 
NXOpen::Features::PatchOpeningsBuilder::Types Type ()
 Returns the method used to patch the opening
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 a builder for a Patch Openings feature.

This allows creation and editing of a Patch Openings feature.
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreatePatchOpeningsBuilder

Created in NX6.0.0.

Member Enumeration Documentation

Indicates what to output.

Enumerator
OutputTypesSingleFeature 

Output one feature containing all patch sheet bodies.

OutputTypesMultipleFeatures 

Output one feature for each patch sheet body.

OutputTypesSew 

Sew patch sheet bodies into target sheet body.

The method used to patch the opening.

Enumerator
TypesQuilted 

Patch with quilted patchwork of faces.

TypesNSided 

Patch with N-sided surface area method.

TypesMesh 

Patch with through curve mesh.

TypesByDeletingEdges 

Patch by deleting edges and growing faces.

TypesExtension 

Tangent edge extension method.

TypesNotch 

Notch fill method.

TypesJoggle 

Joggle fill method.

TypesMoldWizard 

Patch with Mold wizard edge patch method.

TypesBySuppression 

Patch by suppressing features.

Member Function Documentation

void NXOpen::Features::PatchOpeningsBuilder::CreatePathFromOpening ( std::vector< NXOpen::NXObject * > &  objectArray,
NXOpen::NXObject **  path 
)

Create a closed curve (path) from the currently selected opening.


Created in NX7.5.0.

License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
objectArrayThe opening objects that were used to create the path.
pathThe curve created by combining object_array items.
NXOpen::Expression* NXOpen::Features::PatchOpeningsBuilder::CutoutLength ( )

Returns the cutout length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::PatchOpeningsBuilder::CutoutRadius ( )

Returns the cutout radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::PatchOpeningsBuilder::Distance ( )

Returns the extension distance, used only when type is Features::PatchOpeningsBuilder::TypesExtension
Created in NX6.0.0.



License requirements : None

double NXOpen::Features::PatchOpeningsBuilder::DistanceTolerance ( )

Returns the distance tolerance.

Used for sewing sheet bodies and joining curves
Created in NX6.0.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::PatchOpeningsBuilder::DividingCurves ( )

Returns the curves used to divide the opening.


Created in NX7.5.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::PatchOpeningsBuilder::Faces ( )

Returns the faces to form patching boundary.

These faces will be sewn into a sheet body internally to determine the internal openings to fill
Created in NX6.0.0.

License requirements : None

void NXOpen::Features::PatchOpeningsBuilder::FindOpenings ( bool  filterNoise)

Find all valid openings based upon input faces.


Created in NX7.5.0.

License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
filterNoiseif true, do not allow small openings and exterior edges
NXOpen::Die::DieLimitsBuilder* NXOpen::Features::PatchOpeningsBuilder::Limits ( )

Returns the limits to control the span of the patch
Created in NX7.5.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::PatchOpeningsBuilder::Openings ( )

Returns the edges defining the openings to patch.

Must define closed loops
Created in NX6.0.0.

License requirements : None

NXOpen::Features::PatchOpeningsBuilder::OutputTypes NXOpen::Features::PatchOpeningsBuilder::Output ( )

Returns the type of output desired - one feature, multiple features, sewn.


Created in NX6.0.0.

License requirements : None

void NXOpen::Features::PatchOpeningsBuilder::SetDistanceTolerance ( double  distTol)

Sets the distance tolerance.

Used for sewing sheet bodies and joining curves
Created in NX6.0.0.

License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
distToldisttol
void NXOpen::Features::PatchOpeningsBuilder::SetOutput ( NXOpen::Features::PatchOpeningsBuilder::OutputTypes  type)

Sets the type of output desired - one feature, multiple features, sewn.


Created in NX6.0.0.

License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
typetype
void NXOpen::Features::PatchOpeningsBuilder::SetShelfPoint1 ( NXOpen::Point point)

Sets the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
pointpoint
void NXOpen::Features::PatchOpeningsBuilder::SetShelfPoint2 ( NXOpen::Point point)

Sets the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : nx_freeform_2 ("advanced freeform modeling") OR die_engineering ("DIE ENGINEERING")

Parameters
pointpoint
void NXOpen::Features::PatchOpeningsBuilder::SetType ( NXOpen::Features::PatchOpeningsBuilder::Types  type)

Sets the method used to patch the opening
Created in NX6.0.0.



License requirements : None

Parameters
typetype
NXOpen::Expression* NXOpen::Features::PatchOpeningsBuilder::ShelfLength ( )

Returns the shelf length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::Features::PatchOpeningsBuilder::ShelfPoint1 ( )

Returns the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::Features::PatchOpeningsBuilder::ShelfPoint2 ( )

Returns the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::PatchOpeningsBuilder::ShelfRadius ( )

Returns the shelf radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle
Created in NX7.5.0.



License requirements : None

NXOpen::Features::PatchOpeningsBuilder::Types NXOpen::Features::PatchOpeningsBuilder::Type ( )

Returns the method used to patch the opening
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.