NX Open C++ Reference Guide
|
Represents a boolean operation . More...
Public Types | |
enum | BooleanType { BooleanTypeCreate, BooleanTypeUnite, BooleanTypeSubtract, BooleanTypeIntersect, BooleanTypeSew } |
Boolean operation type. More... | |
Public Member Functions | |
void | GetBooleanOperationAndBody (NXOpen::GeometricUtilities::BooleanOperation::BooleanType *type, NXOpen::Body **targetBody) |
Get the Boolean operation type and target body. | |
std::vector< NXOpen::Body * > | GetTargetBodies () |
Get the target bodies. | |
void | SetBooleanOperationAndBody (NXOpen::GeometricUtilities::BooleanOperation::BooleanType type, NXOpen::Body *targetBody) |
Set the Boolean operation type and target body. | |
void | SetTargetBodies (const std::vector< NXOpen::Body * > &targetBodies) |
Set the target bodies. | |
void | SetType (NXOpen::GeometricUtilities::BooleanOperation::BooleanType type) |
Sets the boolean operation type. | |
NXOpen::GeometricUtilities::BooleanOperation::BooleanType | Type () |
Returns the boolean operation type. | |
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 boolean operation .
Created in NX3.0.1.
void NXOpen::GeometricUtilities::BooleanOperation::GetBooleanOperationAndBody | ( | NXOpen::GeometricUtilities::BooleanOperation::BooleanType * | type, |
NXOpen::Body ** | targetBody | ||
) |
Get the Boolean operation type and target body.
Created in NX3.0.1.
License requirements : None
type | boolean type |
targetBody | target body |
std::vector<NXOpen::Body *> NXOpen::GeometricUtilities::BooleanOperation::GetTargetBodies | ( | ) |
Get the target bodies.
@return target bodies of boolean
Created in NX4.0.0.
License requirements : None
void NXOpen::GeometricUtilities::BooleanOperation::SetBooleanOperationAndBody | ( | NXOpen::GeometricUtilities::BooleanOperation::BooleanType | type, |
NXOpen::Body * | targetBody | ||
) |
Set the Boolean operation type and target body.
Created in NX3.0.1.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
type | boolean type |
targetBody | target body |
void NXOpen::GeometricUtilities::BooleanOperation::SetTargetBodies | ( | const std::vector< NXOpen::Body * > & | targetBodies | ) |
Set the target bodies.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
targetBodies | target bodies of boolean |
void NXOpen::GeometricUtilities::BooleanOperation::SetType | ( | NXOpen::GeometricUtilities::BooleanOperation::BooleanType | type | ) |
Sets the boolean operation type.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
type | boolean type |
NXOpen::GeometricUtilities::BooleanOperation::BooleanType NXOpen::GeometricUtilities::BooleanOperation::Type | ( | ) |
Returns the boolean operation type.
Created in NX4.0.0.
License requirements : None
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.