NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Tooling::SolidPatchBuilder Class Reference

Represents a builder to be used to create a solid patch. More...

Inheritance diagram for NXOpen::Tooling::SolidPatchBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  SolidPatchType { SolidPatchTypeSolidPatch, SolidPatchTypeLinkBody }
 Settings of the solid patch creation types. More...
 

Public Member Functions

NXOpen::SelectBodyListPatch ()
 Returns the tool bodies selected as linked source bodies for patching up the target body. More...
 
NXOpen::Tooling::SolidPatchBuilder::SolidPatchType PatchType ()
 Returns the patch type of the solid patch creation. More...
 
NXOpen::SelectBodyProduct ()
 Returns the product body selected as the target body for unite with tool bodies. More...
 
void SetPatchType (NXOpen::Tooling::SolidPatchBuilder::SolidPatchType patchType)
 Sets the patch type of the solid patch creation. More...
 
void SetSubtract (bool isSubtract)
 Sets the toggle for indicating if the tool is subtracted by the target or not. More...
 
void ShowResult ()
 Show result button to write the patch and link this information to the list window. More...
 
bool Subtract ()
 Returns the toggle for indicating if the tool is subtracted by the target or not. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a builder to be used to create a solid patch.


To create a new instance of this class, use NXOpen::Tooling::SolidPatchCollection::CreateBuilder
Default values.

Property Value

PatchType

SolidPatch

Subtract

0


Created in NX7.5.0.

Member Enumeration Documentation

Settings of the solid patch creation types.

Enumerator
SolidPatchTypeSolidPatch 

Solid patch type indicates to create solid patch.

SolidPatchTypeLinkBody 

Link body type indicates to create link body.

Member Function Documentation

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

Parameters
patchTypepatchtype
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

Parameters
isSubtractissubtract
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


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.