NX Open C++ Reference Guide
|
Represents a builder to be used to create a solid patch. More...
Public Types | |
enum | SolidPatchType { SolidPatchTypeSolidPatch, SolidPatchTypeLinkBody } |
Settings of the solid patch creation types. More... | |
Public Member Functions | |
NXOpen::SelectBodyList * | Patch () |
Returns the tool bodies selected as linked source bodies for patching up the target body. | |
NXOpen::Tooling::SolidPatchBuilder::SolidPatchType | PatchType () |
Returns the patch type of the solid patch creation. | |
NXOpen::SelectBody * | Product () |
Returns the product body selected as the target body for unite with tool bodies. | |
void | SetPatchType (NXOpen::Tooling::SolidPatchBuilder::SolidPatchType patchType) |
Sets the patch type of the solid patch creation. | |
void | SetSubtract (bool isSubtract) |
Sets the toggle for indicating if the tool is subtracted by the target or not. | |
void | ShowResult () |
Show result button to write the patch and link this information to the list window. | |
bool | Subtract () |
Returns the toggle for indicating if the tool is subtracted by the target or not. | |
![]() | |
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 to be used to create a solid patch.
To create a new instance of this class, use Tooling::SolidPatchCollection::CreateBuilder
Default values.
Property | Value |
---|---|
PatchType |
SolidPatch |
Subtract |
0 |
Created in NX7.5.0.
NXOpen::SelectBodyList* NXOpen::Tooling::SolidPatchBuilder::Patch | ( | ) |
Returns the tool bodies selected as linked source bodies for patching up the target body.
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::SolidPatchBuilder::SolidPatchType NXOpen::Tooling::SolidPatchBuilder::PatchType | ( | ) |
Returns the patch type of the solid patch creation.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectBody* NXOpen::Tooling::SolidPatchBuilder::Product | ( | ) |
Returns the product body selected as the target body for unite with tool bodies.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::SolidPatchBuilder::SetPatchType | ( | NXOpen::Tooling::SolidPatchBuilder::SolidPatchType | patchType | ) |
Sets the patch type of the solid patch creation.
Created in NX7.5.0.
License requirements : None
patchType | patchtype |
void NXOpen::Tooling::SolidPatchBuilder::SetSubtract | ( | bool | isSubtract | ) |
Sets the toggle for indicating if the tool is subtracted by the target or not.
Created in NX7.5.0.
License requirements : None
isSubtract | issubtract |
void NXOpen::Tooling::SolidPatchBuilder::ShowResult | ( | ) |
Show result button to write the patch and link this information to the list window.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::SolidPatchBuilder::Subtract | ( | ) |
Returns the toggle for indicating if the tool is subtracted by the target or not.
Created in NX7.5.0.
License requirements : None