NX Open C++ Reference Guide
|
Represents a builder for a Patch Openings feature. More...
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. | |
NXOpen::Expression * | CutoutLength () |
Returns the cutout length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Expression * | CutoutRadius () |
Returns the cutout radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Expression * | Distance () |
Returns the extension distance, used only when type is Features::PatchOpeningsBuilder::TypesExtension Created in NX6.0.0. | |
double | DistanceTolerance () |
Returns the distance tolerance. | |
NXOpen::ScCollector * | DividingCurves () |
Returns the curves used to divide the opening. | |
NXOpen::ScCollector * | Faces () |
Returns the faces to form patching boundary. | |
void | FindOpenings (bool filterNoise) |
Find all valid openings based upon input faces. | |
NXOpen::Die::DieLimitsBuilder * | Limits () |
Returns the limits to control the span of the patch Created in NX7.5.0. | |
NXOpen::ScCollector * | Openings () |
Returns the edges defining the openings to patch. | |
NXOpen::Features::PatchOpeningsBuilder::OutputTypes | Output () |
Returns the type of output desired - one feature, multiple features, sewn. | |
void | SetDistanceTolerance (double distTol) |
Sets the distance tolerance. | |
void | SetOutput (NXOpen::Features::PatchOpeningsBuilder::OutputTypes type) |
Sets the type of output desired - one feature, multiple features, sewn. | |
void | SetShelfPoint1 (NXOpen::Point *point) |
Sets the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
void | SetShelfPoint2 (NXOpen::Point *point) |
Sets the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
void | SetType (NXOpen::Features::PatchOpeningsBuilder::Types type) |
Sets the method used to patch the opening Created in NX6.0.0. | |
NXOpen::Expression * | ShelfLength () |
Returns the shelf length, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Point * | ShelfPoint1 () |
Returns the first shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Point * | ShelfPoint2 () |
Returns the second shelf point, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Expression * | ShelfRadius () |
Returns the shelf radius, used only when type is Features::PatchOpeningsBuilder::TypesJoggle Created in NX7.5.0. | |
NXOpen::Features::PatchOpeningsBuilder::Types | Type () |
Returns the method used to patch the opening Created in NX6.0.0. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
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. | |
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. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
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 Features::FeatureCollection::CreatePatchOpeningsBuilder
Created in NX6.0.0.
Indicates what to output.
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.
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. |
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")
objectArray | The opening objects that were used to create the path. |
path | The 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")
filterNoise | if 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")
distTol | disttol |
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")
type | type |
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")
point | point |
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")
point | point |
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
type | type |
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