NX Open C++ Reference Guide
|
Represents the Shell feature builder
To create a new instance of this class, use Features::FeatureCollection::CreateShellBuilder
Created in NX4.0.0.
More...
Public Member Functions | |
NXOpen::Body * | Body () |
Returns the body to be shelled. | |
NXOpen::Expression * | DefaultThickness () |
Returns the default thickness for the shelled body. | |
bool | DefaultThicknessFlip () |
Returns the flip direction option for default thickness. | |
NXOpen::ExpressionCollectorSetList * | FaceThicknesses () |
Returns the list of faces and corresponding alternate thickness for each. | |
NXOpen::ObjectList * | FaceThicknessList () |
Returns the list of faces and corresponding alternate thickness for each. | |
NXOpen::ScCollector * | RemovedFacesCollector () |
Returns the set of faces to be removed from the shelled body. | |
void | SetBody (NXOpen::Body *body) |
Sets the body to be shelled. | |
void | SetDefaultThickness (const NXString &defaultThicknessValue) |
Sets the default thickness for the shelled body. | |
void | SetDefaultThickness (const char *defaultThicknessValue) |
Sets the default thickness for the shelled body. | |
void | SetDefaultThicknessFlip (bool flip) |
Sets the flip direction option for default thickness. | |
void | SetFaceThicknessList (NXOpen::ObjectList *seldimlist) |
Sets the list of faces and corresponding alternate thickness for each. | |
void | SetRemovedFacesCollector (NXOpen::ScCollector *scCollector) |
Sets the set of faces to be removed from the shelled body. | |
void | SetTgtPierceOption (bool tgtPierceOption) |
Sets the option to process tangent remove faces for the Shell operation. | |
void | SetTolerance (double tolerance) |
Sets the tolerance for the Shell operation. | |
void | SetUseSurfaceApproximation (bool approximationOption) |
Sets the option to use approximate surfaces for the Shell operation. | |
bool | TgtPierceOption () |
Returns the option to process tangent remove faces for the Shell operation. | |
double | Tolerance () |
Returns the tolerance for the Shell operation. | |
bool | UseSurfaceApproximation () |
Returns the option to use approximate surfaces for the Shell operation. | |
![]() | |
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 the Shell feature builder
To create a new instance of this class, use Features::FeatureCollection::CreateShellBuilder
Created in NX4.0.0.
NXOpen::Body* NXOpen::Features::ShellBuilder::Body | ( | ) |
Returns the body to be shelled.
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShellBuilder::DefaultThickness | ( | ) |
Returns the default thickness for the shelled body.
Created in NX4.0.0.
License requirements : None
bool NXOpen::Features::ShellBuilder::DefaultThicknessFlip | ( | ) |
Returns the flip direction option for default thickness.
Created in NX4.0.0.
License requirements : None
NXOpen::ExpressionCollectorSetList* NXOpen::Features::ShellBuilder::FaceThicknesses | ( | ) |
Returns the list of faces and corresponding alternate thickness for each.
Created in NX5.0.0.
License requirements : None
NXOpen::ObjectList* NXOpen::Features::ShellBuilder::FaceThicknessList | ( | ) |
Returns the list of faces and corresponding alternate thickness for each.
Note that it is no longer necessary to set this list, as a new list is automatically created when a new instance of this class is instantiated. Note that this API cannot be used together with the new API.
Created in NX4.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Features::ShellBuilder::RemovedFacesCollector | ( | ) |
Returns the set of faces to be removed from the shelled body.
Created in NX4.0.0.
License requirements : None
void NXOpen::Features::ShellBuilder::SetBody | ( | NXOpen::Body * | body | ) |
Sets the body to be shelled.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
body | body |
void NXOpen::Features::ShellBuilder::SetDefaultThickness | ( | const NXString & | defaultThicknessValue | ) |
Sets the default thickness for the shelled body.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
defaultThicknessValue | default thickness expression |
void NXOpen::Features::ShellBuilder::SetDefaultThickness | ( | const char * | defaultThicknessValue | ) |
Sets the default thickness for the shelled body.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
defaultThicknessValue | default thickness expression |
void NXOpen::Features::ShellBuilder::SetDefaultThicknessFlip | ( | bool | flip | ) |
Sets the flip direction option for default thickness.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
flip | flip |
void NXOpen::Features::ShellBuilder::SetFaceThicknessList | ( | NXOpen::ObjectList * | seldimlist | ) |
Sets the list of faces and corresponding alternate thickness for each.
Note that it is no longer necessary to set this list, as a new list is automatically created when a new instance of this class is instantiated. Note that this API cannot be used together with the new API.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
seldimlist | seldimlist |
void NXOpen::Features::ShellBuilder::SetRemovedFacesCollector | ( | NXOpen::ScCollector * | scCollector | ) |
Sets the set of faces to be removed from the shelled body.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
scCollector | sc collector |
void NXOpen::Features::ShellBuilder::SetTgtPierceOption | ( | bool | tgtPierceOption | ) |
Sets the option to process tangent remove faces for the Shell operation.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
tgtPierceOption | tgt pierce option |
void NXOpen::Features::ShellBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance for the Shell operation.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
tolerance | tolerance |
void NXOpen::Features::ShellBuilder::SetUseSurfaceApproximation | ( | bool | approximationOption | ) |
Sets the option to use approximate surfaces for the Shell operation.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
approximationOption | approximation option |
bool NXOpen::Features::ShellBuilder::TgtPierceOption | ( | ) |
Returns the option to process tangent remove faces for the Shell operation.
Created in NX4.0.0.
License requirements : None
double NXOpen::Features::ShellBuilder::Tolerance | ( | ) |
Returns the tolerance for the Shell operation.
Created in NX4.0.0.
License requirements : None
bool NXOpen::Features::ShellBuilder::UseSurfaceApproximation | ( | ) |
Returns the option to use approximate surfaces for the Shell operation.
Created in NX4.0.0.
License requirements : None