|
NX Open C++ Reference Guide
|
Represents a builder to be used to add sheet bodies as patch surfaces or delete patch surfaces. More...
Public Member Functions | |
| void | AddSelectFace (NXOpen::Body *addFace) |
| Add selected face to select list. | |
| void | ClearAddingCandidates () |
| Clear the m_addingCandidates list. | |
| void | GetPatchColor (double *redValue, double *greenValue, double *blueValue) |
| Get the defined color of patch surfaces. | |
| void | InitOnEnter () |
| Get initial patched and parting faces to do delete surface function. | |
| bool | KeepSheet () |
| Returns the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface. | |
| NXOpen::NXColor * | PatchColor () |
| Returns the patch surface color. | |
| NXOpen::SelectBodyList * | PatchSurfaces () |
| Returns the selected surfaces added as patch surfaces or deleted from patch surfaces. | |
| void | PrepareAllRemovingSheets (const std::vector< NXOpen::Body * > &sheets) |
| Get all the related sheets in one feature set. | |
| void | SetKeepSheet (bool keepSheet) |
| Sets the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface. | |
| void | SetPatchColor (NXOpen::NXColor *patchColor) |
| Sets the patch surface color. | |
| void | SetPatchColor (double redValue, double greenValue, double blueValue) |
| Set the defined color of patch surfaces. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a builder to be used to add sheet bodies as patch surfaces or delete patch surfaces.
To create a new instance of this class, use Tooling::AssignPatchCollection::CreateBuilder
Default values.
| Property | Value |
|---|---|
|
KeepSheet |
1 |
Created in NX7.5.0.
| void NXOpen::Tooling::AssignPatchBuilder::AddSelectFace | ( | NXOpen::Body * | addFace | ) |
Add selected face to select list.
Created in NX7.5.0.
License requirements : None
| addFace | face to add to user selected face list |
| void NXOpen::Tooling::AssignPatchBuilder::ClearAddingCandidates | ( | ) |
Clear the m_addingCandidates list.
Created in NX7.5.0.
License requirements : None
| void NXOpen::Tooling::AssignPatchBuilder::GetPatchColor | ( | double * | redValue, |
| double * | greenValue, | ||
| double * | blueValue | ||
| ) |
Get the defined color of patch surfaces.
Created in NX7.5.0.
License requirements : None
| redValue | red value between 0 and 1 |
| greenValue | green value between 0 and 1 |
| blueValue | blue value between 0 and 1 |
| void NXOpen::Tooling::AssignPatchBuilder::InitOnEnter | ( | ) |
Get initial patched and parting faces to do delete surface function.
Created in NX7.5.0.
License requirements : None
| bool NXOpen::Tooling::AssignPatchBuilder::KeepSheet | ( | ) |
Returns the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Tooling::AssignPatchBuilder::PatchColor | ( | ) |
Returns the patch surface color.
Created in NX7.5.5.
License requirements : None
| NXOpen::SelectBodyList* NXOpen::Tooling::AssignPatchBuilder::PatchSurfaces | ( | ) |
Returns the selected surfaces added as patch surfaces or deleted from patch surfaces.
Created in NX7.5.0.
License requirements : None
| void NXOpen::Tooling::AssignPatchBuilder::PrepareAllRemovingSheets | ( | const std::vector< NXOpen::Body * > & | sheets | ) |
Get all the related sheets in one feature set.
Created in NX7.5.0.
License requirements : None
| sheets | The sheets to find their related originals |
| void NXOpen::Tooling::AssignPatchBuilder::SetKeepSheet | ( | bool | keepSheet | ) |
Sets the flag indicating whether to Keep the sheet body or just delete it when deleting a patch surface.
Created in NX7.5.0.
License requirements : None
| keepSheet | keepsheet |
| void NXOpen::Tooling::AssignPatchBuilder::SetPatchColor | ( | NXOpen::NXColor * | patchColor | ) |
Sets the patch surface color.
Created in NX7.5.5.
License requirements : None
| patchColor | patchcolor |
| void NXOpen::Tooling::AssignPatchBuilder::SetPatchColor | ( | double | redValue, |
| double | greenValue, | ||
| double | blueValue | ||
| ) |
Set the defined color of patch surfaces.
Created in NX7.5.0.
License requirements : None
| redValue | red value between 0 and 1 |
| greenValue | green value between 0 and 1 |
| blueValue | blue value between 0 and 1 |