NX Open C++ Reference Guide
|
Represents a builder to be used to split a solid with geometry tools. More...
Public Types | |
enum | OperationType { OperationTypeSplit, OperationTypeTrim } |
the split operation type: split, trim. More... | |
enum | ToolObjectOption { ToolObjectOptionExistingObject, ToolObjectOptionNewPlane } |
the split tool selection type: Existing Object, New Plane. More... | |
Public Member Functions | |
bool | IsEnlarge () |
Returns the option to enlarge a split tool or not, the tool should be a face. | |
bool | ReverseTrimDirection () |
Returns the option to reverse the trim direction or not. | |
void | SetEnlarge (bool isEnlarge) |
Sets the option to enlarge a split tool or not, the tool should be a face. | |
void | SetEnlargedSurfaceData (const std::vector< double > &enlargedSurfaceData) |
Keep enlarged surface data to create enlarged surface. | |
void | SetReverseTrimDirection (bool reverseTrimDirection) |
Sets the option to reverse the trim direction or not. | |
void | SetSplitPlane (NXOpen::Plane *splitPlane) |
Sets the plane to be a split tool. | |
void | SetToolOption (NXOpen::Tooling::SplitSolidBuilder::ToolObjectOption toolOption) |
Sets the tool object selection option Created in NX7.5.0. | |
void | SetType (NXOpen::Tooling::SplitSolidBuilder::OperationType splitOrTrim) |
Sets the operation type to do split body or trim body. | |
NXOpen::SelectNXObject * | SplitObject () |
Returns the tool object to split the target body. | |
NXOpen::Plane * | SplitPlane () |
Returns the plane to be a split tool. | |
NXOpen::SelectBody * | SplitTarget () |
Returns the target body to be split. | |
NXOpen::GeometricUtilities::SurfaceRangeBuilder * | SurfaceRange () |
Returns the utility to get enlarged parameters. | |
NXOpen::Tooling::SplitSolidBuilder::ToolObjectOption | ToolOption () |
Returns the tool object selection option Created in NX7.5.0. | |
NXOpen::Tooling::SplitSolidBuilder::OperationType | Type () |
Returns the operation type to do split body or trim body. | |
![]() | |
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 split a solid with geometry tools.
To create a new instance of this class, use Tooling::SplitSolidCollection::CreateSplitSolidBuilder
Default values.
Property | Value |
---|---|
IsEnlarge |
0 |
SurfaceRange.AnchorPosition |
Vertex1 |
ToolOption |
ExistingObject |
Created in NX7.5.0.
bool NXOpen::Tooling::SplitSolidBuilder::IsEnlarge | ( | ) |
Returns the option to enlarge a split tool or not, the tool should be a face.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::SplitSolidBuilder::ReverseTrimDirection | ( | ) |
Returns the option to reverse the trim direction or not.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::SplitSolidBuilder::SetEnlarge | ( | bool | isEnlarge | ) |
Sets the option to enlarge a split tool or not, the tool should be a face.
Created in NX7.5.0.
License requirements : None
isEnlarge | isenlarge |
void NXOpen::Tooling::SplitSolidBuilder::SetEnlargedSurfaceData | ( | const std::vector< double > & | enlargedSurfaceData | ) |
Keep enlarged surface data to create enlarged surface.
Four values passed in represent enlarged parameters in U+, U-, V+ and V-.
Created in NX7.5.0.
License requirements : None
enlargedSurfaceData | array of u and v range values |
void NXOpen::Tooling::SplitSolidBuilder::SetReverseTrimDirection | ( | bool | reverseTrimDirection | ) |
Sets the option to reverse the trim direction or not.
Created in NX7.5.0.
License requirements : None
reverseTrimDirection | reversetrimdirection |
void NXOpen::Tooling::SplitSolidBuilder::SetSplitPlane | ( | NXOpen::Plane * | splitPlane | ) |
Sets the plane to be a split tool.
Created in NX7.5.0.
License requirements : None
splitPlane | splitplane |
void NXOpen::Tooling::SplitSolidBuilder::SetToolOption | ( | NXOpen::Tooling::SplitSolidBuilder::ToolObjectOption | toolOption | ) |
Sets the tool object selection option
Created in NX7.5.0.
License requirements : None
toolOption | tooloption |
void NXOpen::Tooling::SplitSolidBuilder::SetType | ( | NXOpen::Tooling::SplitSolidBuilder::OperationType | splitOrTrim | ) |
Sets the operation type to do split body or trim body.
Created in NX7.5.0.
License requirements : None
splitOrTrim | splitortrim |
NXOpen::SelectNXObject* NXOpen::Tooling::SplitSolidBuilder::SplitObject | ( | ) |
Returns the tool object to split the target body.
Created in NX7.5.0.
License requirements : None
NXOpen::Plane* NXOpen::Tooling::SplitSolidBuilder::SplitPlane | ( | ) |
Returns the plane to be a split tool.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectBody* NXOpen::Tooling::SplitSolidBuilder::SplitTarget | ( | ) |
Returns the target body to be split.
Created in NX7.5.0.
License requirements : None
NXOpen::GeometricUtilities::SurfaceRangeBuilder* NXOpen::Tooling::SplitSolidBuilder::SurfaceRange | ( | ) |
Returns the utility to get enlarged parameters.
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::SplitSolidBuilder::ToolObjectOption NXOpen::Tooling::SplitSolidBuilder::ToolOption | ( | ) |
Returns the tool object selection option
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::SplitSolidBuilder::OperationType NXOpen::Tooling::SplitSolidBuilder::Type | ( | ) |
Returns the operation type to do split body or trim body.
Created in NX7.5.0.
License requirements : None