NX Open C++ Reference Guide
|
Represents a Features::MidSurfaceByFacePairs builder
To create a new instance of this class, use Features::FeatureCollection::CreateMidSurfaceByFacePairsBuilder
Default values.
More...
Public Types | |
enum | PairingStrategyType { PairingStrategyTypeProgressive, PairingStrategyTypeThickness, PairingStrategyTypeManual } |
pairing strategy More... | |
enum | SurfaceType { SurfaceTypeStandard, SurfaceTypeSide1, SurfaceTypeOffset, SurfaceTypeCloudOfPoints, SurfaceTypeLarge } |
midsurface options More... | |
enum | TrimmingOptionType { TrimmingOptionTypeAdvancedTrimming, TrimmingOptionTypeBodyBasedTrimming, TrimmingOptionTypeTrimtoSide1withNoExtension, TrimmingOptionTypeSkipTrimming } |
trimming options More... | |
Public Member Functions | |
void | AutoPopulateSideTwo () |
Automatically populate side two faces Created in NX7.5.0. | |
bool | AutoPopulateSideTwoOption () |
Returns the auto populate side two faces option Created in NX7.5.0. | |
NXOpen::SelectBodyList * | BodySelection () |
Returns the solid bodies for midsurface definition Created in NX7.5.0. | |
std::vector < NXOpen::Features::Feature * > | CreateFacePair () |
Create or edit a face pair from selected side1 and side2 faces. | |
void | DeleteFacePair (const std::vector< NXOpen::NXObject * > &facePairs) |
Deletes the face pair Created in NX7.5.0. | |
bool | HideBodyOption () |
Returns the hide solid body option Created in NX7.5.0. | |
NXOpen::ScCollector * | IgnoreFaceSelection () |
Returns the ignore face selection Created in NX7.5.0. | |
double | MergeAngleTolerance () |
Returns the merge angle tolerance Created in NX8.0.1. | |
void | ModifyMidsurface (NXOpen::Features::MidSurfaceByFacePairsBuilder::SurfaceType surfaceOption, const std::vector< NXOpen::NXObject * > &facePairs) |
Use cloud of points to generate neutral sheet Created in NX7.5.0. | |
NXOpen::Features::MidSurfaceByFacePairsBuilder::PairingStrategyType | PairingStrategy () |
Returns the pairing strategy used by automatic pairs Created in NX7.5.0. | |
void | ReverseFacePair (const std::vector< NXOpen::NXObject * > &facePairs) |
Reverse face pair Created in NX7.5.0. | |
NXOpen::Expression * | SearchDistance () |
Returns the search distance to be used when searching for side 2 faces Created in NX7.5.0. | |
void | SetAutoPopulateSideTwoOption (bool autoPopulateSideTwoOption) |
Sets the auto populate side two faces option Created in NX7.5.0. | |
void | SetHideBodyOption (bool hideBodyOption) |
Sets the hide solid body option Created in NX7.5.0. | |
void | SetMergeAngleTolerance (double mergeAngleTolerance) |
Sets the merge angle tolerance Created in NX8.0.1. | |
void | SetPairingStrategy (NXOpen::Features::MidSurfaceByFacePairsBuilder::PairingStrategyType pairingStrategy) |
Sets the pairing strategy used by automatic pairs Created in NX7.5.0. | |
void | SetThicknessRatio (double thicknessRatio) |
Sets the dt ratio for ignoring small features Created in NX7.5.0. | |
void | SetTrimmingOption (NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType trimmingOption) |
Sets the trimming option Created in NX7.5.0. | |
void | SetUpdateOption (bool updateOption) |
Sets the immediate update Created in NX7.5.0. | |
void | SetupFacePairInContext (NXOpen::Features::Feature *facePair) |
Set face pair to edit Created in NX7.5.0. | |
NXOpen::SelectBodyList * | SheetSelection () |
Returns the user defined sheet selection Created in NX7.5.0. | |
NXOpen::ScCollector * | SideOneSelection () |
Returns the side one faces for manual pair Created in NX7.5.0. | |
NXOpen::ScCollector * | SideTwoSelection () |
Returns the side two faces for manual pair Created in NX7.5.0. | |
double | ThicknessRatio () |
Returns the dt ratio for ignoring small features Created in NX7.5.0. | |
NXOpen::Expression * | ThicknessValue () |
Returns the thickness value when pairing strategy is set to Thickness Created in NX7.5.0. | |
void | Trim (NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType trimmingOption, const std::vector< NXOpen::NXObject * > &facePairs) |
Trim the face pairs Created in NX7.5.0. | |
NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType | TrimmingOption () |
Returns the trimming option Created in NX7.5.0. | |
bool | UpdateOption () |
Returns the immediate update Created in NX7.5.0. | |
void | ValidateSelection (int selectionType) |
Validate and filter out invalid items from the selection list Created in NX7.5.0. |
Represents a Features::MidSurfaceByFacePairs builder
To create a new instance of this class, use Features::FeatureCollection::CreateMidSurfaceByFacePairsBuilder
Default values.
Property | Value |
---|---|
AutoPopulateSideTwoOption |
0 |
HideBodyOption |
0 |
MergeAngleTolerance |
5 |
PairingStrategy |
Progressive |
SearchDistance.Value |
2.0 (millimeters part), 0.078 (inches part) |
ThicknessRatio |
0.1 |
ThicknessValue.Value |
2.0 (millimeters part), 0.078 (inches part) |
TrimmingOption |
AdvancedTrimming |
Created in NX7.5.0.
trimming options
TrimmingOptionTypeAdvancedTrimming |
Advanced trimming. |
TrimmingOptionTypeBodyBasedTrimming |
Body based trimming. |
TrimmingOptionTypeTrimtoSide1withNoExtension |
Trim to master. |
TrimmingOptionTypeSkipTrimming |
Skip trimming for replacement sheets. |
Automatically populate side two faces
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the auto populate side two faces option
Created in NX7.5.0.
License requirements : None
Returns the solid bodies for midsurface definition
Created in NX7.5.0.
License requirements : None
std::vector<NXOpen::Features::Feature *> NXOpen::Features::MidSurfaceByFacePairsBuilder::CreateFacePair | ( | ) |
Create or edit a face pair from selected side1 and side2 faces.
void NXOpen::Features::MidSurfaceByFacePairsBuilder::DeleteFacePair | ( | const std::vector< NXOpen::NXObject * > & | facePairs | ) |
Deletes the face pair
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
facePairs | Pairs to be deleted |
Returns the hide solid body option
Created in NX7.5.0.
License requirements : None
Returns the ignore face selection
Created in NX7.5.0.
License requirements : None
Returns the merge angle tolerance
Created in NX8.0.1.
License requirements : None
void NXOpen::Features::MidSurfaceByFacePairsBuilder::ModifyMidsurface | ( | NXOpen::Features::MidSurfaceByFacePairsBuilder::SurfaceType | surfaceOption, |
const std::vector< NXOpen::NXObject * > & | facePairs | ||
) |
Use cloud of points to generate neutral sheet
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
surfaceOption | surfaceoption |
facePairs | Pairs to use cloud of points |
NXOpen::Features::MidSurfaceByFacePairsBuilder::PairingStrategyType NXOpen::Features::MidSurfaceByFacePairsBuilder::PairingStrategy | ( | ) |
Returns the pairing strategy used by automatic pairs
Created in NX7.5.0.
License requirements : None
void NXOpen::Features::MidSurfaceByFacePairsBuilder::ReverseFacePair | ( | const std::vector< NXOpen::NXObject * > & | facePairs | ) |
Reverse face pair
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
facePairs | Pairs to be reversed |
Returns the search distance to be used when searching for side 2 faces
Created in NX7.5.0.
License requirements : None
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetAutoPopulateSideTwoOption | ( | bool | autoPopulateSideTwoOption | ) |
Sets the auto populate side two faces option
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
autoPopulateSideTwoOption | autopopulatesidetwooption |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetHideBodyOption | ( | bool | hideBodyOption | ) |
Sets the hide solid body option
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
hideBodyOption | hidebodyoption |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetMergeAngleTolerance | ( | double | mergeAngleTolerance | ) |
Sets the merge angle tolerance
Created in NX8.0.1.
License requirements : None
mergeAngleTolerance | mergeangletolerance |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetPairingStrategy | ( | NXOpen::Features::MidSurfaceByFacePairsBuilder::PairingStrategyType | pairingStrategy | ) |
Sets the pairing strategy used by automatic pairs
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
pairingStrategy | pairingstrategy |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetThicknessRatio | ( | double | thicknessRatio | ) |
Sets the dt ratio for ignoring small features
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
thicknessRatio | thicknessratio |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetTrimmingOption | ( | NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType | trimmingOption | ) |
Sets the trimming option
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
trimmingOption | trimmingoption |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetUpdateOption | ( | bool | updateOption | ) |
Sets the immediate update
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
updateOption | updateoption |
void NXOpen::Features::MidSurfaceByFacePairsBuilder::SetupFacePairInContext | ( | NXOpen::Features::Feature * | facePair | ) |
Set face pair to edit
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
facePair | Face pair to edit |
Returns the user defined sheet selection
Created in NX7.5.0.
License requirements : None
Returns the side one faces for manual pair
Created in NX7.5.0.
License requirements : None
Returns the side two faces for manual pair
Created in NX7.5.0.
License requirements : None
Returns the dt ratio for ignoring small features
Created in NX7.5.0.
License requirements : None
Returns the thickness value when pairing strategy is set to Thickness
Created in NX7.5.0.
License requirements : None
void NXOpen::Features::MidSurfaceByFacePairsBuilder::Trim | ( | NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType | trimmingOption, |
const std::vector< NXOpen::NXObject * > & | facePairs | ||
) |
Trim the face pairs
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
trimmingOption | trimmingoption |
facePairs | Pairs to be deleted |
NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOptionType NXOpen::Features::MidSurfaceByFacePairsBuilder::TrimmingOption | ( | ) |
Returns the trimming option
Created in NX7.5.0.
License requirements : None
Returns the immediate update
Created in NX7.5.0.
License requirements : None
void NXOpen::Features::MidSurfaceByFacePairsBuilder::ValidateSelection | ( | int | selectionType | ) |
Validate and filter out invalid items from the selection list
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
selectionType | 0 - BodySelection, 1 - SideOneSelection, 2 - SideTwoSelection |