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

The builder contains all inputs for direct unfolding. More...

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

Public Types

enum  Bend {
  BendTwo, BendThree, BendFour, BendFive,
  BendSix
}
 The number of children bends in defining prebend. More...
 
enum  BodyList { BodyListNone }
 The name list of bodies in current part. More...
 
enum  MatType { MatTypeSteel }
 The material database defined in PDW. More...
 
enum  Types { TypesConvert, TypesMergeBends, TypesDefinePreBends, TypesDeleteBends }
 Specifies the option of direct unfold type. More...
 

Public Member Functions

NXOpen::ScCollectorAdditionalBendFaces ()
 Returns the additional bend faces
Created in NX11.0.0. More...
 
double Angle1 ()
 Returns the first angle of prebend. More...
 
double Angle2 ()
 Returns the second angle of prebend. More...
 
double Angle3 ()
 Returns the third angle of prebend. More...
 
double Angle4 ()
 Returns the fourth angle of prebend. More...
 
double Angle5 ()
 Returns the fifth angle of prebend. More...
 
double Angle6 ()
 Returns the sixth angle of prebend. More...
 
NXOpen::Tooling::DirectUnfoldBuilder::BodyList CurBodies ()
 Returns the current body list. More...
 
NXOpen::Tooling::DefineNeutralFactorBuilderDefineNeutralFactor ()
 Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length
Created in NX10.0.0. More...
 
int DesignSequence ()
 Returns the design sequence. More...
 
double DevLength ()
 Returns the operations to developed length of a bend. More...
 
int EditOption ()
 Returns the edit intermediate stage option. More...
 
NXString InterNamingRule ()
 Returns the naming rule of intermediate stages. More...
 
bool InterRenameComp ()
 Returns the switch of rename components. More...
 
NXOpen::Assemblies::SelectComponentInterStage ()
 Returns the intermediate stages selected as the reference of insert. More...
 
void KByMaterial ()
 Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part. More...
 
NXString KFactor ()
 Returns the operations of k factor for a single bend. More...
 
void LoadDatabase ()
 Opens process_data Speadsheet in PDW. More...
 
NXOpen::Tooling::DirectUnfoldBuilder::MatType Materials ()
 Returns the materials available in PDW. More...
 
NXOpen::Tooling::DirectUnfoldBuilder::Bend NumBends ()
 Returns the number of bends. More...
 
int NumInter ()
 Returns the number of intermediate stages. More...
 
int OrientPitch ()
 Returns the orientation of pitch. More...
 
double Pitch ()
 Returns the pitch. More...
 
NXOpen::SelectFaceListSelectBend ()
 Returns the selection list that stores bend faces. More...
 
NXOpen::SelectFaceListSelPlanarFaces ()
 Returns the planar faces selected as the start of automatic recognition. More...
 
void SetAngle1 (double angle1)
 Sets the first angle of prebend. More...
 
void SetAngle2 (double angle2)
 Sets the second angle of prebend. More...
 
void SetAngle3 (double angle3)
 Sets the third angle of prebend. More...
 
void SetAngle4 (double angle4)
 Sets the fourth angle of prebend. More...
 
void SetAngle5 (double angle5)
 Sets the fifth angle of prebend. More...
 
void SetAngle6 (double angle6)
 Sets the sixth angle of prebend. More...
 
void SetCurBodies (NXOpen::Tooling::DirectUnfoldBuilder::BodyList curBodies)
 Sets the current body list. More...
 
void SetDesignSequence (int designSequence)
 Sets the design sequence. More...
 
void SetDevLength (double devLength)
 Sets the operations to developed length of a bend. More...
 
void SetEditOption (int editOption)
 Sets the edit intermediate stage option. More...
 
void SetInterNamingRule (const NXString &interNamingRule)
 Sets the naming rule of intermediate stages. More...
 
void SetInterNamingRule (const char *interNamingRule)
 Sets the naming rule of intermediate stages. More...
 
void SetInterRenameComp (bool interRenameComp)
 Sets the switch of rename components. More...
 
void SetKFactor (const NXString &kFactor)
 Sets the operations of k factor for a single bend. More...
 
void SetKFactor (const char *kFactor)
 Sets the operations of k factor for a single bend. More...
 
void SetMaterials (NXOpen::Tooling::DirectUnfoldBuilder::MatType materials)
 Sets the materials available in PDW. More...
 
void SetNumBends (NXOpen::Tooling::DirectUnfoldBuilder::Bend numBends)
 Sets the number of bends. More...
 
void SetNumInter (int numInter)
 Sets the number of intermediate stages. More...
 
void SetOrientPitch (int orientPitch)
 Sets the orientation of pitch. More...
 
void SetPitch (double pitch)
 Sets the pitch. More...
 
void SetStartStation (int startStation)
 Sets the start station. More...
 
void SetUnfoldType (NXOpen::Tooling::DirectUnfoldBuilder::Types type)
 Sets the type of direct unfold, the name get_type has been used
Created in NX7.5.0. More...
 
int StartStation ()
 Returns the start station. More...
 
NXOpen::Tooling::DirectUnfoldBuilder::Types UnfoldType ()
 Returns the type of direct unfold, the name get_type has been used
Created in NX7.5.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

The builder contains all inputs for direct unfolding.

They are: name of current design part name of bodies in current part planar faces for auto-recogniton ...
To create a new instance of this class, use NXOpen::Tooling::DirectUnfoldCollection::CreateDirectUnfoldBuilder
Default values.

Property Value

Angle1

30

Angle2

30

Angle3

30

Angle4

30

Angle5

30

Angle6

30

CurBodies

None

DefineNeutralFactor.BendDevelopedLength

0

DefineNeutralFactor.NeutralFactor

0.40

DefineNeutralFactor.NeutralFactorFormula

General

DefineNeutralFactor.PartMaterial

08

DesignSequence

0

DevLength (deprecated)

0

InterRenameComp

0

Materials (deprecated)

Steel

NumBends

Two

NumInter

1

OrientPitch

0

Pitch

0

StartStation

2


Created in NX6.0.0.

Member Enumeration Documentation

The number of children bends in defining prebend.

Enumerator
BendTwo 

two bends

BendThree 

three bends

BendFour 

four bends

BendFive 

five bends

BendSix 

six bends

The name list of bodies in current part.

It is changed in selecting different part.

Enumerator
BodyListNone 

Default is none.

The material database defined in PDW.

It is added in project initialization.

Enumerator
MatTypeSteel 

Default is steel.

Specifies the option of direct unfold type.

Enumerator
TypesConvert 

the direct unfold type of convert to Sheet Metal

TypesMergeBends 

the direct unfold type of merge bends

TypesDefinePreBends 

the direct unfold type of define pre-bends

TypesDeleteBends 

the direct unfold type of delete all bends

Member Function Documentation

NXOpen::ScCollector* NXOpen::Tooling::DirectUnfoldBuilder::AdditionalBendFaces ( )

Returns the additional bend faces
Created in NX11.0.0.



License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle1 ( )

Returns the first angle of prebend.


Created in NX6.0.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle2 ( )

Returns the second angle of prebend.


Created in NX6.0.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle3 ( )

Returns the third angle of prebend.


Created in NX6.0.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle4 ( )

Returns the fourth angle of prebend.


Created in NX6.0.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle5 ( )

Returns the fifth angle of prebend.


Created in NX6.0.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Angle6 ( )

Returns the sixth angle of prebend.


Created in NX6.0.0.

License requirements : None

NXOpen::Tooling::DirectUnfoldBuilder::BodyList NXOpen::Tooling::DirectUnfoldBuilder::CurBodies ( )

Returns the current body list.


Created in NX6.0.0.

License requirements : None

NXOpen::Tooling::DefineNeutralFactorBuilder* NXOpen::Tooling::DirectUnfoldBuilder::DefineNeutralFactor ( )

Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length
Created in NX10.0.0.



License requirements : None

int NXOpen::Tooling::DirectUnfoldBuilder::DesignSequence ( )

Returns the design sequence.


Created in NX7.5.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::DevLength ( )

Returns the operations to developed length of a bend.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::BendDevelopedLength instead.


Created in NX6.0.0.

License requirements : None

int NXOpen::Tooling::DirectUnfoldBuilder::EditOption ( )

Returns the edit intermediate stage option.


Created in NX7.5.0.

License requirements : None

NXString NXOpen::Tooling::DirectUnfoldBuilder::InterNamingRule ( )

Returns the naming rule of intermediate stages.


Created in NX6.0.0.

License requirements : None

bool NXOpen::Tooling::DirectUnfoldBuilder::InterRenameComp ( )

Returns the switch of rename components.


Created in NX6.0.0.

License requirements : None

NXOpen::Assemblies::SelectComponent* NXOpen::Tooling::DirectUnfoldBuilder::InterStage ( )

Returns the intermediate stages selected as the reference of insert.


Created in NX7.5.0.

License requirements : None

void NXOpen::Tooling::DirectUnfoldBuilder::KByMaterial ( )

Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part.


Deprecated:
Deprecated in NX10.0.0. This functionality is no longer supported.


Created in NX6.0.0.

License requirements : None

NXString NXOpen::Tooling::DirectUnfoldBuilder::KFactor ( )

Returns the operations of k factor for a single bend.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::NeutralFactor instead.


Created in NX6.0.0.

License requirements : None

void NXOpen::Tooling::DirectUnfoldBuilder::LoadDatabase ( )

Opens process_data Speadsheet in PDW.


Deprecated:
Deprecated in NX10.0.0. This functionality is no longer supported.


Created in NX6.0.0.

License requirements : None

NXOpen::Tooling::DirectUnfoldBuilder::MatType NXOpen::Tooling::DirectUnfoldBuilder::Materials ( )

Returns the materials available in PDW.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::PartMaterial instead.


Created in NX6.0.0.

License requirements : None

NXOpen::Tooling::DirectUnfoldBuilder::Bend NXOpen::Tooling::DirectUnfoldBuilder::NumBends ( )

Returns the number of bends.


Created in NX6.0.0.

License requirements : None

int NXOpen::Tooling::DirectUnfoldBuilder::NumInter ( )

Returns the number of intermediate stages.


Created in NX6.0.0.

License requirements : None

int NXOpen::Tooling::DirectUnfoldBuilder::OrientPitch ( )

Returns the orientation of pitch.


Created in NX7.5.0.

License requirements : None

double NXOpen::Tooling::DirectUnfoldBuilder::Pitch ( )

Returns the pitch.


Created in NX7.5.0.

License requirements : None

NXOpen::SelectFaceList* NXOpen::Tooling::DirectUnfoldBuilder::SelectBend ( )

Returns the selection list that stores bend faces.


Created in NX6.0.0.

License requirements : None

NXOpen::SelectFaceList* NXOpen::Tooling::DirectUnfoldBuilder::SelPlanarFaces ( )

Returns the planar faces selected as the start of automatic recognition.


Created in NX6.0.0.

License requirements : None

void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle1 ( double  angle1)

Sets the first angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle1angle1
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle2 ( double  angle2)

Sets the second angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle2angle2
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle3 ( double  angle3)

Sets the third angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle3angle3
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle4 ( double  angle4)

Sets the fourth angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle4angle4
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle5 ( double  angle5)

Sets the fifth angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle5angle5
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle6 ( double  angle6)

Sets the sixth angle of prebend.


Created in NX6.0.0.

License requirements : None

Parameters
angle6angle6
void NXOpen::Tooling::DirectUnfoldBuilder::SetCurBodies ( NXOpen::Tooling::DirectUnfoldBuilder::BodyList  curBodies)

Sets the current body list.


Created in NX6.0.0.

License requirements : None

Parameters
curBodiescurbodies
void NXOpen::Tooling::DirectUnfoldBuilder::SetDesignSequence ( int  designSequence)

Sets the design sequence.


Created in NX7.5.0.

License requirements : None

Parameters
designSequencedesignsequence
void NXOpen::Tooling::DirectUnfoldBuilder::SetDevLength ( double  devLength)

Sets the operations to developed length of a bend.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetBendDevelopedLength instead.


Created in NX6.0.0.

License requirements : None

Parameters
devLengthdevlength
void NXOpen::Tooling::DirectUnfoldBuilder::SetEditOption ( int  editOption)

Sets the edit intermediate stage option.


Created in NX7.5.0.

License requirements : None

Parameters
editOptioneditoption
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterNamingRule ( const NXString interNamingRule)

Sets the naming rule of intermediate stages.


Created in NX6.0.0.

License requirements : None

Parameters
interNamingRuleinternamingrule
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterNamingRule ( const char *  interNamingRule)

Sets the naming rule of intermediate stages.


Created in NX6.0.0.

License requirements : None

Parameters
interNamingRuleinternamingrule
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterRenameComp ( bool  interRenameComp)

Sets the switch of rename components.


Created in NX6.0.0.

License requirements : None

Parameters
interRenameCompinterrenamecomp
void NXOpen::Tooling::DirectUnfoldBuilder::SetKFactor ( const NXString kFactor)

Sets the operations of k factor for a single bend.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetNeutralFactor instead.


Created in NX6.0.0.

License requirements : None

Parameters
kFactorkfactor
void NXOpen::Tooling::DirectUnfoldBuilder::SetKFactor ( const char *  kFactor)

Sets the operations of k factor for a single bend.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetNeutralFactor instead.


Created in NX6.0.0.

License requirements : None

Parameters
kFactorkfactor
void NXOpen::Tooling::DirectUnfoldBuilder::SetMaterials ( NXOpen::Tooling::DirectUnfoldBuilder::MatType  materials)

Sets the materials available in PDW.


Deprecated:
Deprecated in NX10.0.0. Use Tooling::DefineNeutralFactorBuilder::SetPartMaterial instead.


Created in NX6.0.0.

License requirements : None

Parameters
materialsmaterials
void NXOpen::Tooling::DirectUnfoldBuilder::SetNumBends ( NXOpen::Tooling::DirectUnfoldBuilder::Bend  numBends)

Sets the number of bends.


Created in NX6.0.0.

License requirements : None

Parameters
numBendsnumbends
void NXOpen::Tooling::DirectUnfoldBuilder::SetNumInter ( int  numInter)

Sets the number of intermediate stages.


Created in NX6.0.0.

License requirements : None

Parameters
numInternuminter
void NXOpen::Tooling::DirectUnfoldBuilder::SetOrientPitch ( int  orientPitch)

Sets the orientation of pitch.


Created in NX7.5.0.

License requirements : None

Parameters
orientPitchorientpitch
void NXOpen::Tooling::DirectUnfoldBuilder::SetPitch ( double  pitch)

Sets the pitch.


Created in NX7.5.0.

License requirements : None

Parameters
pitchpitch
void NXOpen::Tooling::DirectUnfoldBuilder::SetStartStation ( int  startStation)

Sets the start station.


Created in NX7.5.0.

License requirements : None

Parameters
startStationstartstation
void NXOpen::Tooling::DirectUnfoldBuilder::SetUnfoldType ( NXOpen::Tooling::DirectUnfoldBuilder::Types  type)

Sets the type of direct unfold, the name get_type has been used
Created in NX7.5.0.



License requirements : None

Parameters
typetype
int NXOpen::Tooling::DirectUnfoldBuilder::StartStation ( )

Returns the start station.


Created in NX7.5.0.

License requirements : None

NXOpen::Tooling::DirectUnfoldBuilder::Types NXOpen::Tooling::DirectUnfoldBuilder::UnfoldType ( )

Returns the type of direct unfold, the name get_type has been used
Created in NX7.5.0.



License requirements : None


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