NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Tooling::ReusablePocketBuilder Class Reference

Reusable pocket builder. More...

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

List of all members.

Public Types

enum  Hole { HoleSeries, HoleSubtract, HoleNone }
 Represents hole types. More...

Public Member Functions

void AddTargetBody (NXOpen::NXObject *component, NXOpen::NXObject *targetBody)
 Adds target body.
void AddToolComponent (NXOpen::NXObject *component)
 Adds tool component.
bool AutoTarget ()
 Returns the flag specifying whether target is fetched automatically.
void BreakLink (NXOpen::NXObject *component)
 Breaks link.
void CreatePocket (NXOpen::NXObject *component)
 Creates pocket.
void DeletePocket (NXOpen::NXObject *component)
 Deletes pocket.
void RecreateHoleSeries (NXOpen::NXObject *component, NXOpen::NXObject *feature)
 Recreates hole series if hole feature is updated.
void RemoveTargetBody (NXOpen::NXObject *component, NXOpen::NXObject *targetBody)
 Removes target body.
void RemoveToolComponent (NXOpen::NXObject *component)
 Removes tool component.
void SetAutoTarget (bool autoTarget)
 Sets the flag specifying whether target is fetched automatically.
void SetCounterboreDiameter (NXOpen::NXObject *component, double counterboreDiameter)
 Sets counterbore diameter for hole series.
void SetCountersunkDiameter (NXOpen::NXObject *component, double countersunkDiameter)
 Sets countersunk diameter for hole series.
void SetDiameter (NXOpen::NXObject *component, double diameter)
 Sets diameter for hole series.
void SetFit (NXOpen::NXObject *component, const NXString &fit)
 Sets fit for hole series.
void SetForm (NXOpen::NXObject *component, const NXString &form)
 Sets form for hole series.
void SetHoleType (NXOpen::NXObject *component, NXOpen::Tooling::ReusablePocketBuilder::Hole holeType)
 Sets hole type.
void SetReference (NXOpen::NXObject *component, const NXString &reference)
 Sets reference set.
void SetScrewType (NXOpen::NXObject *component, const NXString &screwType)
 Sets screw type for hole series.
void SetStandard (NXOpen::NXObject *component, const NXString &standard)
 Sets standard for hole series.
void SetThreadHole (bool threadHole)
 Sets the flag specifying whether thread hole is used.
bool ThreadHole ()
 Returns the flag specifying whether thread hole is used.
void VerifyHoleSeries (NXOpen::NXObject *component)
 Verifies hole series parameters.

Detailed Description

Reusable pocket builder.


To create a new instance of this class, use Tooling::ReusablePocketCollection::CreateReusablePocketBuilder
Default values.

Property Value

AutoTarget

true

ThreadHole

false


Created in NX7.5.0.


Member Enumeration Documentation

Represents hole types.

Enumerator:
HoleSeries 

Pocket with hole series.

HoleSubtract 

Subtract pocket.

HoleNone 

None.


Member Function Documentation

Adds target body.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which target body is added
targetBodyTarget body

Adds tool component.


Created in NX7.5.0.

License requirements : None

Parameters:
componentTool component

Returns the flag specifying whether target is fetched automatically.

If true, the target is fetched automatically, else, the target is fetched manually.
Created in NX7.5.0.

License requirements : None

Breaks link.


Created in NX8.0.0.

License requirements : None

Parameters:
componentComponent to which link is broke

Creates pocket.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which pocket is created

Deletes pocket.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which pocket is deleted

Recreates hole series if hole feature is updated.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to recreate hole series
featureFeature to be recreated

Removes target body.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which target body is removed
targetBodyTarget body

Removes tool component.


Created in NX7.5.0.

License requirements : None

Parameters:
componentTool component to remove

Sets the flag specifying whether target is fetched automatically.

If true, the target is fetched automatically, else, the target is fetched manually.
Created in NX7.5.0.

License requirements : None

Parameters:
autoTargetautotarget
void NXOpen::Tooling::ReusablePocketBuilder::SetCounterboreDiameter ( NXOpen::NXObject component,
double  counterboreDiameter 
)

Sets counterbore diameter for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which counterbore diameter is set
counterboreDiameterC-Bore diameter for hole series
void NXOpen::Tooling::ReusablePocketBuilder::SetCountersunkDiameter ( NXOpen::NXObject component,
double  countersunkDiameter 
)

Sets countersunk diameter for hole series.


Created in NX8.0.0.

License requirements : None

Parameters:
componentComponent to which countersunk diameter is set
countersunkDiameterC-Sink diameter for hole series
void NXOpen::Tooling::ReusablePocketBuilder::SetDiameter ( NXOpen::NXObject component,
double  diameter 
)

Sets diameter for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which diameter is set
diameterDiameter for hole series

Sets fit for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which fit is set
fitHole series fit
NOTE: The full Unicode character set is not supported for this parameter.

Sets form for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which form is set
formHole series form
NOTE: The full Unicode character set is not supported for this parameter.

Sets hole type.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which hole type is set
holeTypeHole type

Sets reference set.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which reference is set
referenceReference set with cut body
NOTE: The full Unicode character set is not supported for this parameter.

Sets screw type for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which screw type is set
screwTypeHole series screw type
NOTE: The full Unicode character set is not supported for this parameter.

Sets standard for hole series.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to which standard is set
standardHole series standard
NOTE: The full Unicode character set is not supported for this parameter.

Sets the flag specifying whether thread hole is used.

If true, thread hole is used, else, screw clearance hole is used.
Created in NX7.5.0.

License requirements : None

Parameters:
threadHolethreadhole

Returns the flag specifying whether thread hole is used.

If true, thread hole is used, else, screw clearance hole is used.
Created in NX7.5.0.

License requirements : None

Verifies hole series parameters.


Created in NX7.5.0.

License requirements : None

Parameters:
componentComponent to verify hole series parameters

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