NX Open C++ Reference Guide
|
Represents a Hole feature builder. More...
Public Types | |
enum | HoleSubtype { HoleSubtypeSimple, HoleSubtypeCounterbore, HoleSubtypeCountersink } |
Represents the subtype of the hole. More... | |
Public Member Functions | |
NXOpen::Expression * | CounterboreDepth () |
Returns the depth of the counterbore for a hole. | |
NXOpen::Expression * | CounterboreDiameter () |
Returns the diameter of the counterbore for a hole. | |
NXOpen::Expression * | CountersinkAngle () |
Returns the angle of the countersink for a hole. | |
NXOpen::Expression * | CountersinkDiameter () |
Returns the diameter of the countersink for a hole. | |
void | CreateHole () |
Creates a hole body which can be positioned Created in NX3.0.0. | |
NXOpen::Expression * | Depth () |
Returns the depth of the hole. | |
NXOpen::Expression * | Diameter () |
Returns the diameter of the hole. | |
NXOpen::Body * | GetTargetBody () |
Returns target body for the hole. | |
NXOpen::ISurface * | GetThruFace () |
Returns thru face parameter for the hole. | |
NXOpen::Point3d | HoleLocation () |
Returns the reference point of the hole. | |
NXOpen::ISurface * | PlacementFace () |
Returns the placement face of the hole. | |
bool | ReverseDirection () |
Returns the reverse direction flag of the hole. | |
void | SetCounterboreDepth (const NXString &depth) |
Sets the depth of the counterbore for a hole. | |
void | SetCounterboreDiameter (const NXString &diameter) |
Sets the diameter of the counterbore for a hole. | |
void | SetCounterboreHole (const NXOpen::Point3d &referencePoint, bool reverseDirection, NXOpen::ISurface *placementFace, const NXString &diameter, const NXString &counterboreDiameter, const NXString &counterboreDepth) |
Sets parameters for counterbore hole Created in NX3.0.0. | |
void | SetCountersinkAngle (const NXString &angle) |
Sets the angle of the countersink for a hole. | |
void | SetCountersinkDiameter (const NXString &diameter) |
Sets the diameter of the countersink for a hole. | |
void | SetCountersinkHole (const NXOpen::Point3d &referencePoint, bool reverseDirection, NXOpen::ISurface *placementFace, const NXString &diameter, const NXString &countersinkDiameter, const NXString &countersinkAngle) |
Sets parameters for countersink hole Created in NX3.0.0. | |
void | SetDepth (const NXString &depth) |
Sets the depth of the hole. | |
void | SetDepthAndTipAngle (const NXString &depth, const NXString &tipAngle) |
Sets depth and tip angle parameters for the hole. | |
void | SetDiameter (const NXString &diameter) |
Sets the diameter of the hole. | |
void | SetHoleLocation (const NXOpen::Point3d &referencePoint) |
Sets the reference point of the hole. | |
void | SetPlacementFace (NXOpen::ISurface *placementFace) |
Sets the placement face of the hole. | |
void | SetReverseDirection (bool reverse) |
Sets the reverse direction flag of the hole. | |
void | SetSimpleHole (const NXOpen::Point3d &referencePoint, bool reverseDirection, NXOpen::ISurface *placementFace, const NXString &diameter) |
Sets parameters for simple hole Created in NX3.0.0. | |
void | SetSubtype (NXOpen::Features::HoleFeatureBuilder::HoleSubtype subtype) |
Sets the type of hole. | |
void | SetTargetBody (NXOpen::Body *targetBody) |
Sets target body for the hole. | |
void | SetThruFace (NXOpen::ISurface *thruFace) |
Sets thru face parameter for the hole. | |
void | SetTipAngle (const NXString &tipAngle) |
Sets the tip angle of the hole. | |
NXOpen::Features::HoleFeatureBuilder::HoleSubtype | Subtype () |
Returns the type of hole. | |
NXOpen::Expression * | TipAngle () |
Returns the tip angle of the hole. |
Represents a Hole feature builder.
See RPOBuilder for details on positioning the hole.
To create a new instance of this class, use Features::FeatureCollection::CreateHoleFeatureBuilder
Created in NX3.0.0.
Returns the depth of the counterbore for a hole.
Only used if the hole type is couterbore
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the diameter of the counterbore for a hole.
Only used if the hole type is couterbore
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the angle of the countersink for a hole.
Only used if the hole type is coutersink
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the diameter of the countersink for a hole.
Only used if the hole type is coutersink
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Creates a hole body which can be positioned
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the depth of the hole.
If this parameter is set then the thru face is ignored.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the diameter of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns target body for the hole.
If this parameter is set then depth and tip angle are ignored and will prompt for thru_face.
Returns thru face parameter for the hole.
If this parameter is set then depth and tip angle are ignored.
Returns the reference point of the hole.
This parameter will position the hole unless relative positioning dimensions are used
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the placement face of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the reverse direction flag of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::HoleFeatureBuilder::SetCounterboreDepth | ( | const NXString & | depth | ) |
Sets the depth of the counterbore for a hole.
Only used if the hole type is couterbore
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
depth | counterbore depth NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetCounterboreDiameter | ( | const NXString & | diameter | ) |
Sets the diameter of the counterbore for a hole.
Only used if the hole type is couterbore
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetCounterboreHole | ( | const NXOpen::Point3d & | referencePoint, |
bool | reverseDirection, | ||
NXOpen::ISurface * | placementFace, | ||
const NXString & | diameter, | ||
const NXString & | counterboreDiameter, | ||
const NXString & | counterboreDepth | ||
) |
Sets parameters for counterbore hole
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
referencePoint | Reference point for the hole |
reverseDirection | Reverse direction flag, applicable only if placement face is a datum plane |
placementFace | Placement face |
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
counterboreDiameter | Counterbore diameter NOTE: The full Unicode character set is not supported for this parameter. |
counterboreDepth | Counterbore depth NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetCountersinkAngle | ( | const NXString & | angle | ) |
Sets the angle of the countersink for a hole.
Only used if the hole type is coutersink
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
angle | countersink angle NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetCountersinkDiameter | ( | const NXString & | diameter | ) |
Sets the diameter of the countersink for a hole.
Only used if the hole type is coutersink
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetCountersinkHole | ( | const NXOpen::Point3d & | referencePoint, |
bool | reverseDirection, | ||
NXOpen::ISurface * | placementFace, | ||
const NXString & | diameter, | ||
const NXString & | countersinkDiameter, | ||
const NXString & | countersinkAngle | ||
) |
Sets parameters for countersink hole
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
referencePoint | Reference point for the hole |
reverseDirection | Reverse direction flag, applicable only if placement face is a datum plane |
placementFace | Placement face |
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
countersinkDiameter | Countersink diameter NOTE: The full Unicode character set is not supported for this parameter. |
countersinkAngle | Countersink angle NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetDepth | ( | const NXString & | depth | ) |
Sets the depth of the hole.
If this parameter is set then the thru face is ignored.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
depth | Hole depth NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetDepthAndTipAngle | ( | const NXString & | depth, |
const NXString & | tipAngle | ||
) |
Sets depth and tip angle parameters for the hole.
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
depth | Hole depth NOTE: The full Unicode character set is not supported for this parameter. |
tipAngle | Tip angle of the tool NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetDiameter | ( | const NXString & | diameter | ) |
Sets the diameter of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetHoleLocation | ( | const NXOpen::Point3d & | referencePoint | ) |
Sets the reference point of the hole.
This parameter will position the hole unless relative positioning dimensions are used
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
referencePoint | Reference point for the hole |
void NXOpen::Features::HoleFeatureBuilder::SetPlacementFace | ( | NXOpen::ISurface * | placementFace | ) |
Sets the placement face of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
placementFace | Placement face |
void NXOpen::Features::HoleFeatureBuilder::SetReverseDirection | ( | bool | reverse | ) |
Sets the reverse direction flag of the hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
reverse | reverse |
void NXOpen::Features::HoleFeatureBuilder::SetSimpleHole | ( | const NXOpen::Point3d & | referencePoint, |
bool | reverseDirection, | ||
NXOpen::ISurface * | placementFace, | ||
const NXString & | diameter | ||
) |
Sets parameters for simple hole
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
referencePoint | Reference point for the hole |
reverseDirection | Reverse direction flag, applicable only if placement face is a datum plane |
placementFace | Placement face |
diameter | Hole diameter NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Features::HoleFeatureBuilder::SetSubtype | ( | NXOpen::Features::HoleFeatureBuilder::HoleSubtype | subtype | ) |
Sets the type of hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
subtype | subtype |
void NXOpen::Features::HoleFeatureBuilder::SetTargetBody | ( | NXOpen::Body * | targetBody | ) |
Sets target body for the hole.
If this parameter is set then depth and tip angle are ignored and will prompt for thru_face.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
targetBody | Target Body |
void NXOpen::Features::HoleFeatureBuilder::SetThruFace | ( | NXOpen::ISurface * | thruFace | ) |
Sets thru face parameter for the hole.
If this parameter is set then depth and tip angle are ignored.
Created in NX3.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
thruFace | Thru face |
void NXOpen::Features::HoleFeatureBuilder::SetTipAngle | ( | const NXString & | tipAngle | ) |
Sets the tip angle of the hole.
If this parameter is set then the thru face is ignored.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
tipAngle | Tip angle NOTE: The full Unicode character set is not supported for this parameter. |
Returns the type of hole.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
Returns the tip angle of the hole.
If this parameter is set then the thru face is ignored.
Created in NX4.0.0.
License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")