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

Represents a Hole feature
To create or edit an instance of this class, use NXOpen::Features::HoleFeatureBuilder

Created in NX3.0.0. More...

Inheritance diagram for NXOpen::Features::Hole:
NXOpen::Features::RPO NXOpen::Features::BodyFeature NXOpen::Features::Feature NXOpen::NXObject NXOpen::IProfile NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::INXObject

Public Types

enum  Subtype { SubtypeSimple, SubtypeCounterbore, SubtypeCountersink }
 Represents the subtype of the hole. More...
 

Public Member Functions

NXOpen::ExpressionCounterboreDepth ()
 Returns the counterbore depth of the hole. More...
 
NXOpen::ExpressionCounterboreDiameter ()
 Returns the counterbore diameter of the hole. More...
 
NXOpen::ExpressionCountersinkAngle ()
 Returns the countersink angle of the hole. More...
 
NXOpen::ExpressionCountersinkDiameter ()
 Returns the countersink diameter of the hole. More...
 
NXOpen::ExpressionDepth ()
 Returns the depth of the hole. More...
 
NXOpen::ExpressionDiameter ()
 Returns the diameter of the hole. More...
 
void GetCounterboreHole (NXOpen::Expression **diameter, NXOpen::Expression **depth, NXOpen::Expression **tipAngle, NXOpen::Expression **cboreDiameter, NXOpen::Expression **cboreDepth)
 Retrieves parameters of counterbore hole. More...
 
void GetCountersinkHole (NXOpen::Expression **diameter, NXOpen::Expression **depth, NXOpen::Expression **tipAngle, NXOpen::Expression **csinkDiameter, NXOpen::Expression **csinkAngle)
 Retrieves parameters of countersink hole. More...
 
std::vector
< NXOpen::PositioningDimension * > 
GetPositioningDimensions ()
 Returns array of positioning dimensions attached to the hole. More...
 
void GetSimpleHole (NXOpen::Expression **diameter, NXOpen::Expression **depth, NXOpen::Expression **tipAngle)
 Retrieves parameters of simple hole. More...
 
NXOpen::Features::Hole::Subtype GetSubtype ()
 Returns the subtype of the hole. More...
 
NXOpen::ISurfacePlacementFace ()
 Returns the placement face of the hole. More...
 
NXOpen::ISurfaceThruFace ()
 Returns the thru face of the hole. More...
 
NXOpen::ExpressionTipAngle ()
 Returns the tip angle of the hole. More...
 

Detailed Description

Represents a Hole feature
To create or edit an instance of this class, use NXOpen::Features::HoleFeatureBuilder

Created in NX3.0.0.


Member Enumeration Documentation

Represents the subtype of the hole.

Enumerator
SubtypeSimple 

Simple hole.

SubtypeCounterbore 

Counterbore hole.

SubtypeCountersink 

Countersink hole.

Member Function Documentation

NXOpen::Expression* NXOpen::Features::Hole::CounterboreDepth ( )

Returns the counterbore depth of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::CounterboreDiameter ( )

Returns the counterbore diameter of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::CountersinkAngle ( )

Returns the countersink angle of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::CountersinkDiameter ( )

Returns the countersink diameter of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::Depth ( )

Returns the depth of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::Diameter ( )

Returns the diameter of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

void NXOpen::Features::Hole::GetCounterboreHole ( NXOpen::Expression **  diameter,
NXOpen::Expression **  depth,
NXOpen::Expression **  tipAngle,
NXOpen::Expression **  cboreDiameter,
NXOpen::Expression **  cboreDepth 
)

Retrieves parameters of counterbore hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

Parameters
diameterExpression for diameter
depthExpression for depth
tipAngleExpression for tip angle
cboreDiameterExpression for counterbore diameter
cboreDepthExpression for counterbore depth
void NXOpen::Features::Hole::GetCountersinkHole ( NXOpen::Expression **  diameter,
NXOpen::Expression **  depth,
NXOpen::Expression **  tipAngle,
NXOpen::Expression **  csinkDiameter,
NXOpen::Expression **  csinkAngle 
)

Retrieves parameters of countersink hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

Parameters
diameterExpression for diameter
depthExpression for depth
tipAngleExpression for tip angle
csinkDiameterExpression for countersink diameter
csinkAngleExpression for countersink angle
std::vector<NXOpen::PositioningDimension *> NXOpen::Features::Hole::GetPositioningDimensions ( )

Returns array of positioning dimensions attached to the hole.

Returns

Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::Hole::GetSimpleHole ( NXOpen::Expression **  diameter,
NXOpen::Expression **  depth,
NXOpen::Expression **  tipAngle 
)

Retrieves parameters of simple hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

Parameters
diameterExpression for diameter
depthExpression for depth
tipAngleExpression for tip angle
NXOpen::Features::Hole::Subtype NXOpen::Features::Hole::GetSubtype ( )

Returns the subtype of the hole.

Returns
Subype of the hole, simple, counterbore, or countersink
Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")
NXOpen::ISurface* NXOpen::Features::Hole::PlacementFace ( )

Returns the placement face of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::ISurface* NXOpen::Features::Hole::ThruFace ( )

Returns the thru face of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::Features::Hole::TipAngle ( )

Returns the tip angle of the hole.


Created in NX3.0.0.

License requirements : features_modeling ("FEATURES MODELING"), solid_modeling ("SOLIDS MODELING")


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