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

Represents a Pierce Task feature builder
To create a new instance of this class, use NXOpen::Die::DieCollection::PierceTask

Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Die::PierceTaskBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  CamTypes { CamTypesDirect = 2, CamTypesAerial = 0, CamTypesBaseMounted }
 Settings for the cam type of the pierce task. More...
 
enum  CenterPointOptionTypes { CenterPointOptionTypesNone, CenterPointOptionTypesDie, CenterPointOptionTypesProduct, CenterPointOptionTypesBoth }
 Settings for the center point output options of the pierce task. More...
 
enum  PrecisionTypes { PrecisionTypesGage, PrecisionTypesCritical, PrecisionTypesStandard }
 Settings for the precistion type of the pierce task. More...
 

Public Member Functions

double AngleTolerance ()
 Returns the angle tolerance of the pierce task
Created in NX4.0.0. More...
 
NXOpen::SelectNXObjectListAssociatedObjects ()
 Returns the assoc objects
Created in NX5.0.0. More...
 
NXOpen::ILocationCamDirection ()
 Returns the cam direction of the pierce task
Created in NX4.0.0. More...
 
NXOpen::Die::PierceTaskBuilder::CamTypes CamType ()
 Returns the cam type of the pierce task
Created in NX4.0.0. More...
 
NXOpen::Die::PierceTaskBuilder::CenterPointOptionTypes CenterPointOption ()
 Returns the center point output option of the pierce task
Created in NX5.0.0. More...
 
bool CreateScrap ()
 Returns the create scrap setting of the pierce task. More...
 
double DistanceTolerance ()
 Returns the distance tolerance of the pierce task
Created in NX4.0.0. More...
 
bool FinishOperation ()
 Returns the finish operation of the pierce task True indicates the pierce is to be a finish pierce. More...
 
std::vector
< NXOpen::DisplayableObject * > 
GetAssociativeObjects ()
 Gets the associative objects of the pierce task. More...
 
std::vector< NXStringGetCameraLayerAndXmlp (std::vector< NXString > &xmlpData)
 Gets the camera layer settings and xmlp data. More...
 
std::vector< NXStringGetCameraNames ()
 Gets the names of the camera. More...
 
std::vector< NXOpen::View * > GetCameraViews ()
 Gets the camera views of the pierce task. More...
 
std::vector< NXStringGetDetails ()
 Gets the detailed description of the pierce task. More...
 
std::vector< NXOpen::IProfile * > GetPierceBounds (NXOpen::Die::DirectionOption *direction)
 Gets the pierce bounds of the pierce task. More...
 
bool LayoutFlange ()
 Returns the layout flange setting of the pierce task. More...
 
NXOpen::Die::PierceItemBuilderNewPierceHole (NXOpen::Die::PierceItemBuilder::HoleShapeType holeShape)
 Creates a new pierce hole item in the set. More...
 
NXOpen::ScCollectorPierceHoles ()
 Returns the pierce holes
Created in NX5.0.0. More...
 
NXOpen::Die::PierceItemBuilderListPierceHolesList ()
 Returns the pierce holes list
Created in NX5.0.0. More...
 
NXOpen::Die::PierceTaskBuilder::PrecisionTypes PrecisionType ()
 Returns the precision type of the pierce task
Created in NX4.0.0. More...
 
void SetAngleTolerance (double angleTolerance)
 Sets the angle tolerance of the pierce task
Created in NX4.0.0. More...
 
void SetAssociativeObjects (const std::vector< NXOpen::DisplayableObject * > &objects)
 Sets the associative objects of the pierce task
Created in NX4.0.0. More...
 
void SetCamDirection (NXOpen::ILocation *camDirection)
 Sets the cam direction of the pierce task
Created in NX4.0.0. More...
 
void SetCameraLayerAndXmlp (std::vector< NXString > &layerSettings, std::vector< NXString > &xmlpData)
 Sets the camera layer settings and xmlp data
Created in NX4.0.0. More...
 
void SetCameraNames (std::vector< NXString > &strings)
 Sets the names of the camera
Created in NX4.0.0. More...
 
void SetCameraViews (const std::vector< NXOpen::View * > &objects)
 Sets the camera views of the pierce task
Created in NX4.0.0. More...
 
void SetCamType (NXOpen::Die::PierceTaskBuilder::CamTypes camType)
 Sets the cam type of the pierce task
Created in NX4.0.0. More...
 
void SetCenterPointOption (NXOpen::Die::PierceTaskBuilder::CenterPointOptionTypes centerPointOption)
 Sets the center point output option of the pierce task
Created in NX5.0.0. More...
 
void SetCreateScrap (bool createScrap)
 Sets the create scrap setting of the pierce task. More...
 
void SetDetails (std::vector< NXString > &strings)
 Sets the detailed description of the pierce task
Created in NX4.0.0. More...
 
void SetDistanceTolerance (double distanceTolerance)
 Sets the distance tolerance of the pierce task
Created in NX4.0.0. More...
 
void SetFinishOperation (bool finishOperation)
 Sets the finish operation of the pierce task True indicates the pierce is to be a finish pierce. More...
 
void SetLayoutFlange (bool layoutFlange)
 Sets the layout flange setting of the pierce task. More...
 
void SetPierceBounds (NXOpen::Die::DirectionOption direction, const std::vector< NXOpen::IProfile * > &profileEntries)
 Sets the pierce bounds of the pierce task. More...
 
void SetPrecisionType (NXOpen::Die::PierceTaskBuilder::PrecisionTypes precisionType)
 Sets the precision type of the pierce task
Created in NX4.0.0. More...
 
void SetTippedProduct (NXOpen::Features::Feature *tippedProduct)
 Sets the tipped product of the pierce task
Created in NX4.0.0. More...
 
void SetTrimNewDieFace (bool trimNewDieFace)
 Sets the trim new die face, from NX10.0 new stamping output can import one new die face to die engineer process. More...
 
void SetWithoutWorkflowSheet (NXOpen::Body *sheet)
 Sets the without workflow sheet of the pierce task builder. More...
 
NXOpen::Features::SelectFeatureTipFeature ()
 Returns the tip feature
Created in NX5.0.0. More...
 
NXOpen::Features::FeatureTippedProduct ()
 Returns the tipped product of the pierce task
Created in NX4.0.0. More...
 
bool TrimNewDieFace ()
 Returns the trim new die face, from NX10.0 new stamping output can import one new die face to die engineer process. More...
 
NXOpen::BodyWithoutWorkflowSheet ()
 Returns the without workflow sheet of the pierce task builder. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 Returns the feature currently being edited by this builder. More...
 
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 
bool ParentFeatureInternal ()
 Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
bool PatchSolutionFlag ()
 Returns the patch solution flag
Created in NX8.0.1. More...
 
NXString PatchSurfaceFilename ()
 Returns the patch surface filename
Created in NX8.0.1. More...
 
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited
Created in NX6.0.0. More...
 
void SetParentFeatureInternal (bool isInternal)
 Sets whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0. More...
 
void SetPatchSolutionFlag (bool optionValue)
 Sets the patch solution flag
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const NXString &surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetPatchSurfaceFilename (const char *surfaceFilename)
 Sets the patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename)
 Sets the surrounding patch surface filename
Created in NX8.0.1. More...
 
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
NXString SurroundingPatchSurfaceFilename ()
 Returns the surrounding patch surface filename
Created in NX8.0.1. More...
 
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
 Set the internal parent feature of the feature being edited to external
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Pierce Task feature builder
To create a new instance of this class, use NXOpen::Die::DieCollection::PierceTask

Created in NX4.0.0.


Member Enumeration Documentation

Settings for the cam type of the pierce task.

Enumerator
CamTypesDirect 

Direct.

CamTypesAerial 

Aerial Cam.

CamTypesBaseMounted 

Base Mounted Cam.

Settings for the center point output options of the pierce task.

Enumerator
CenterPointOptionTypesNone 

No center points output.

CenterPointOptionTypesDie 

Center points output in die position.

CenterPointOptionTypesProduct 

Center points output in product position.

CenterPointOptionTypesBoth 

Center points output in both die and product position.

Settings for the precistion type of the pierce task.

Enumerator
PrecisionTypesGage 

Gage hole.

PrecisionTypesCritical 

Critical hole.

PrecisionTypesStandard 

Standard hole.

Member Function Documentation

double NXOpen::Die::PierceTaskBuilder::AngleTolerance ( )

Returns the angle tolerance of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::SelectNXObjectList* NXOpen::Die::PierceTaskBuilder::AssociatedObjects ( )

Returns the assoc objects
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::ILocation* NXOpen::Die::PierceTaskBuilder::CamDirection ( )

Returns the cam direction of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Die::PierceTaskBuilder::CamTypes NXOpen::Die::PierceTaskBuilder::CamType ( )

Returns the cam type of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Die::PierceTaskBuilder::CenterPointOptionTypes NXOpen::Die::PierceTaskBuilder::CenterPointOption ( )

Returns the center point output option of the pierce task
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

bool NXOpen::Die::PierceTaskBuilder::CreateScrap ( )

Returns the create scrap setting of the pierce task.

True indicates that the scrap is to be created.
Created in NX7.5.0.

License requirements : die_engineering ("DIE ENGINEERING")

double NXOpen::Die::PierceTaskBuilder::DistanceTolerance ( )

Returns the distance tolerance of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

bool NXOpen::Die::PierceTaskBuilder::FinishOperation ( )

Returns the finish operation of the pierce task True indicates the pierce is to be a finish pierce.

False indicates rough pierce.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

std::vector<NXOpen::DisplayableObject *> NXOpen::Die::PierceTaskBuilder::GetAssociativeObjects ( )

Gets the associative objects of the pierce task.

Returns

Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
std::vector<NXString> NXOpen::Die::PierceTaskBuilder::GetCameraLayerAndXmlp ( std::vector< NXString > &  xmlpData)

Gets the camera layer settings and xmlp data.

Returns
1 layer setting string for each camera object. the string needs to be 256 characters long (one for each user layer) with either 0 for off or 1 for on.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
Parameters
xmlpDataxmlp data
std::vector<NXString> NXOpen::Die::PierceTaskBuilder::GetCameraNames ( )

Gets the names of the camera.

Returns
each string contains the name of a camera object
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
std::vector<NXOpen::View *> NXOpen::Die::PierceTaskBuilder::GetCameraViews ( )

Gets the camera views of the pierce task.

Returns

Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
std::vector<NXString> NXOpen::Die::PierceTaskBuilder::GetDetails ( )

Gets the detailed description of the pierce task.

Returns
detail strings
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
std::vector<NXOpen::IProfile *> NXOpen::Die::PierceTaskBuilder::GetPierceBounds ( NXOpen::Die::DirectionOption direction)

Gets the pierce bounds of the pierce task.

Returns
Profile entries that make up the boundary of the pierce task
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
Parameters
directionProfile direction
bool NXOpen::Die::PierceTaskBuilder::LayoutFlange ( )

Returns the layout flange setting of the pierce task.

True indicates that the pierce curve is to be laid out on the flange.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Die::PierceItemBuilder* NXOpen::Die::PierceTaskBuilder::NewPierceHole ( NXOpen::Die::PierceItemBuilder::HoleShapeType  holeShape)

Creates a new pierce hole item in the set.

Returns

Created in NX5.0.0.

License requirements : die_engineering ("DIE ENGINEERING")
Parameters
holeShapehole shape
NXOpen::ScCollector* NXOpen::Die::PierceTaskBuilder::PierceHoles ( )

Returns the pierce holes
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Die::PierceItemBuilderList* NXOpen::Die::PierceTaskBuilder::PierceHolesList ( )

Returns the pierce holes list
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Die::PierceTaskBuilder::PrecisionTypes NXOpen::Die::PierceTaskBuilder::PrecisionType ( )

Returns the precision type of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

void NXOpen::Die::PierceTaskBuilder::SetAngleTolerance ( double  angleTolerance)

Sets the angle tolerance of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
angleToleranceangle tolerance
void NXOpen::Die::PierceTaskBuilder::SetAssociativeObjects ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Sets the associative objects of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
objectsobjects
void NXOpen::Die::PierceTaskBuilder::SetCamDirection ( NXOpen::ILocation camDirection)

Sets the cam direction of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
camDirectioncam direction
void NXOpen::Die::PierceTaskBuilder::SetCameraLayerAndXmlp ( std::vector< NXString > &  layerSettings,
std::vector< NXString > &  xmlpData 
)

Sets the camera layer settings and xmlp data
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
layerSettings1 layer setting string for each camera object. the string needs to be 256 characters long (one for each user layer) with either 0 for off or 1 for on.
xmlpDataxmlp data
void NXOpen::Die::PierceTaskBuilder::SetCameraNames ( std::vector< NXString > &  strings)

Sets the names of the camera
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
stringseach string contains the name of a camera object
void NXOpen::Die::PierceTaskBuilder::SetCameraViews ( const std::vector< NXOpen::View * > &  objects)

Sets the camera views of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
objectsobjects
void NXOpen::Die::PierceTaskBuilder::SetCamType ( NXOpen::Die::PierceTaskBuilder::CamTypes  camType)

Sets the cam type of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
camTypecam type
void NXOpen::Die::PierceTaskBuilder::SetCenterPointOption ( NXOpen::Die::PierceTaskBuilder::CenterPointOptionTypes  centerPointOption)

Sets the center point output option of the pierce task
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
centerPointOptioncenter point option
void NXOpen::Die::PierceTaskBuilder::SetCreateScrap ( bool  createScrap)

Sets the create scrap setting of the pierce task.

True indicates that the scrap is to be created.
Created in NX7.5.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
createScrapcreate scrap
void NXOpen::Die::PierceTaskBuilder::SetDetails ( std::vector< NXString > &  strings)

Sets the detailed description of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
stringsdetail strings
void NXOpen::Die::PierceTaskBuilder::SetDistanceTolerance ( double  distanceTolerance)

Sets the distance tolerance of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
distanceTolerancedistance tolerance
void NXOpen::Die::PierceTaskBuilder::SetFinishOperation ( bool  finishOperation)

Sets the finish operation of the pierce task True indicates the pierce is to be a finish pierce.

False indicates rough pierce.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
finishOperationfinish operation
void NXOpen::Die::PierceTaskBuilder::SetLayoutFlange ( bool  layoutFlange)

Sets the layout flange setting of the pierce task.

True indicates that the pierce curve is to be laid out on the flange.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
layoutFlangelayout flange
void NXOpen::Die::PierceTaskBuilder::SetPierceBounds ( NXOpen::Die::DirectionOption  direction,
const std::vector< NXOpen::IProfile * > &  profileEntries 
)

Sets the pierce bounds of the pierce task.

Note - Die::PierceTaskBuilder::SetTippedProduct needs to be called before this function.
Created in NX4.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
directionProfile direction
profileEntriesProfile entries that make up the boundary of the pierce task
void NXOpen::Die::PierceTaskBuilder::SetPrecisionType ( NXOpen::Die::PierceTaskBuilder::PrecisionTypes  precisionType)

Sets the precision type of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
precisionTypeprecision type
void NXOpen::Die::PierceTaskBuilder::SetTippedProduct ( NXOpen::Features::Feature tippedProduct)

Sets the tipped product of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

Parameters
tippedProductThe tip of the operation where the pierce task resides.
void NXOpen::Die::PierceTaskBuilder::SetTrimNewDieFace ( bool  trimNewDieFace)

Sets the trim new die face, from NX10.0 new stamping output can import one new die face to die engineer process.

If this pierce task will trim this new die face, set trimNewDieFace to true, or else set it to false.
Created in NX10.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
trimNewDieFaceif set to true, pierce task performs on new die face, or else it will perform on original die face.
void NXOpen::Die::PierceTaskBuilder::SetWithoutWorkflowSheet ( NXOpen::Body sheet)

Sets the without workflow sheet of the pierce task builder.

In release NX11.0, pierce task supports without workflow type when the workflow tip feature does not exist.
Created in NX11.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

Parameters
sheetsheet
NXOpen::Features::SelectFeature* NXOpen::Die::PierceTaskBuilder::TipFeature ( )

Returns the tip feature
Created in NX5.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Features::Feature* NXOpen::Die::PierceTaskBuilder::TippedProduct ( )

Returns the tipped product of the pierce task
Created in NX4.0.0.



License requirements : die_engineering ("DIE ENGINEERING")

bool NXOpen::Die::PierceTaskBuilder::TrimNewDieFace ( )

Returns the trim new die face, from NX10.0 new stamping output can import one new die face to die engineer process.

If this pierce task will trim this new die face, set trimNewDieFace to true, or else set it to false.
Created in NX10.0.0.

License requirements : die_engineering ("DIE ENGINEERING")

NXOpen::Body* NXOpen::Die::PierceTaskBuilder::WithoutWorkflowSheet ( )

Returns the without workflow sheet of the pierce task builder.

In release NX11.0, pierce task supports without workflow type when the workflow tip feature does not exist.
Created in NX11.0.0.

License requirements : die_engineering ("DIE ENGINEERING")


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