NX Open C++ Reference Guide
|
The builder contains all inputs for direct unfolding. More...
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 | |
double | Angle1 () |
Returns the first angle of prebend. | |
double | Angle2 () |
Returns the second angle of prebend. | |
double | Angle3 () |
Returns the third angle of prebend. | |
double | Angle4 () |
Returns the fourth angle of prebend. | |
double | Angle5 () |
Returns the fifth angle of prebend. | |
double | Angle6 () |
Returns the sixth angle of prebend. | |
NXOpen::Tooling::DirectUnfoldBuilder::BodyList | CurBodies () |
Returns the current body list. | |
int | DesignSequence () |
Returns the design sequence. | |
double | DevLength () |
Returns the operations to developed length of a bend. | |
int | EditOption () |
Returns the edit intermediate stage option. | |
NXString | InterNamingRule () |
Returns the naming rule of intermediate stages. | |
bool | InterRenameComp () |
Returns the switch of rename components. | |
NXOpen::Assemblies::SelectComponent * | InterStage () |
Returns the intermediate stages selected as the reference of insert. | |
void | KByMaterial () |
Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part. | |
NXString | KFactor () |
Returns the operations of k factor for a single bend. | |
void | LoadDatabase () |
Opens process_data Speadsheet in PDW. | |
NXOpen::Tooling::DirectUnfoldBuilder::MatType | Materials () |
Returns the materials available in PDW. | |
NXOpen::Tooling::DirectUnfoldBuilder::Bend | NumBends () |
Returns the number of bends. | |
int | NumInter () |
Returns the number of intermediate stages. | |
int | OrientPitch () |
Returns the orientation of pitch. | |
double | Pitch () |
Returns the pitch. | |
NXOpen::SelectFaceList * | SelectBend () |
Returns the selection list that stores bend faces. | |
NXOpen::SelectFaceList * | SelPlanarFaces () |
Returns the planar faces selected as the start of automatic recognition. | |
void | SetAngle1 (double angle1) |
Sets the first angle of prebend. | |
void | SetAngle2 (double angle2) |
Sets the second angle of prebend. | |
void | SetAngle3 (double angle3) |
Sets the third angle of prebend. | |
void | SetAngle4 (double angle4) |
Sets the fourth angle of prebend. | |
void | SetAngle5 (double angle5) |
Sets the fifth angle of prebend. | |
void | SetAngle6 (double angle6) |
Sets the sixth angle of prebend. | |
void | SetCurBodies (NXOpen::Tooling::DirectUnfoldBuilder::BodyList curBodies) |
Sets the current body list. | |
void | SetDesignSequence (int designSequence) |
Sets the design sequence. | |
void | SetDevLength (double devLength) |
Sets the operations to developed length of a bend. | |
void | SetEditOption (int editOption) |
Sets the edit intermediate stage option. | |
void | SetInterNamingRule (const NXString &interNamingRule) |
Sets the naming rule of intermediate stages. | |
void | SetInterNamingRule (const char *interNamingRule) |
Sets the naming rule of intermediate stages. | |
void | SetInterRenameComp (bool interRenameComp) |
Sets the switch of rename components. | |
void | SetKFactor (const NXString &kFactor) |
Sets the operations of k factor for a single bend. | |
void | SetKFactor (const char *kFactor) |
Sets the operations of k factor for a single bend. | |
void | SetMaterials (NXOpen::Tooling::DirectUnfoldBuilder::MatType materials) |
Sets the materials available in PDW. | |
void | SetNumBends (NXOpen::Tooling::DirectUnfoldBuilder::Bend numBends) |
Sets the number of bends. | |
void | SetNumInter (int numInter) |
Sets the number of intermediate stages. | |
void | SetOrientPitch (int orientPitch) |
Sets the orientation of pitch. | |
void | SetPitch (double pitch) |
Sets the pitch. | |
void | SetStartStation (int startStation) |
Sets the start station. | |
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. | |
int | StartStation () |
Returns the start station. | |
NXOpen::Tooling::DirectUnfoldBuilder::Types | UnfoldType () |
Returns the type of direct unfold, the name get_type has been used Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
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 Tooling::DirectUnfoldCollection::CreateDirectUnfoldBuilder
Default values.
Property | Value |
---|---|
Angle1 |
30 |
Angle2 |
30 |
Angle3 |
30 |
Angle4 |
30 |
Angle5 |
30 |
Angle6 |
30 |
CurBodies |
None |
DesignSequence |
0 |
DevLength |
0 |
InterRenameComp |
0 |
Materials |
Steel |
NumBends |
Two |
NumInter |
1 |
OrientPitch |
0 |
Pitch |
0 |
StartStation |
2 |
Created in NX6.0.0.
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
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.
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.
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Tooling::DirectUnfoldBuilder::KFactor | ( | ) |
Returns the operations of k factor for a single bend.
Created in NX6.0.0.
License requirements : None
void NXOpen::Tooling::DirectUnfoldBuilder::LoadDatabase | ( | ) |
Opens process_data Speadsheet in PDW.
Created in NX6.0.0.
License requirements : None
NXOpen::Tooling::DirectUnfoldBuilder::MatType NXOpen::Tooling::DirectUnfoldBuilder::Materials | ( | ) |
Returns the materials available in PDW.
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
angle1 | angle1 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle2 | ( | double | angle2 | ) |
Sets the second angle of prebend.
Created in NX6.0.0.
License requirements : None
angle2 | angle2 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle3 | ( | double | angle3 | ) |
Sets the third angle of prebend.
Created in NX6.0.0.
License requirements : None
angle3 | angle3 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle4 | ( | double | angle4 | ) |
Sets the fourth angle of prebend.
Created in NX6.0.0.
License requirements : None
angle4 | angle4 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle5 | ( | double | angle5 | ) |
Sets the fifth angle of prebend.
Created in NX6.0.0.
License requirements : None
angle5 | angle5 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetAngle6 | ( | double | angle6 | ) |
Sets the sixth angle of prebend.
Created in NX6.0.0.
License requirements : None
angle6 | angle6 |
void NXOpen::Tooling::DirectUnfoldBuilder::SetCurBodies | ( | NXOpen::Tooling::DirectUnfoldBuilder::BodyList | curBodies | ) |
Sets the current body list.
Created in NX6.0.0.
License requirements : None
curBodies | curbodies |
void NXOpen::Tooling::DirectUnfoldBuilder::SetDesignSequence | ( | int | designSequence | ) |
Sets the design sequence.
Created in NX7.5.0.
License requirements : None
designSequence | designsequence |
void NXOpen::Tooling::DirectUnfoldBuilder::SetDevLength | ( | double | devLength | ) |
Sets the operations to developed length of a bend.
Created in NX6.0.0.
License requirements : None
devLength | devlength |
void NXOpen::Tooling::DirectUnfoldBuilder::SetEditOption | ( | int | editOption | ) |
Sets the edit intermediate stage option.
Created in NX7.5.0.
License requirements : None
editOption | editoption |
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterNamingRule | ( | const NXString & | interNamingRule | ) |
Sets the naming rule of intermediate stages.
Created in NX6.0.0.
License requirements : None
interNamingRule | internamingrule |
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterNamingRule | ( | const char * | interNamingRule | ) |
Sets the naming rule of intermediate stages.
Created in NX6.0.0.
License requirements : None
interNamingRule | internamingrule |
void NXOpen::Tooling::DirectUnfoldBuilder::SetInterRenameComp | ( | bool | interRenameComp | ) |
Sets the switch of rename components.
Created in NX6.0.0.
License requirements : None
interRenameComp | interrenamecomp |
void NXOpen::Tooling::DirectUnfoldBuilder::SetKFactor | ( | const NXString & | kFactor | ) |
Sets the operations of k factor for a single bend.
Created in NX6.0.0.
License requirements : None
kFactor | kfactor |
void NXOpen::Tooling::DirectUnfoldBuilder::SetKFactor | ( | const char * | kFactor | ) |
Sets the operations of k factor for a single bend.
Created in NX6.0.0.
License requirements : None
kFactor | kfactor |
void NXOpen::Tooling::DirectUnfoldBuilder::SetMaterials | ( | NXOpen::Tooling::DirectUnfoldBuilder::MatType | materials | ) |
Sets the materials available in PDW.
Created in NX6.0.0.
License requirements : None
materials | materials |
void NXOpen::Tooling::DirectUnfoldBuilder::SetNumBends | ( | NXOpen::Tooling::DirectUnfoldBuilder::Bend | numBends | ) |
Sets the number of bends.
Created in NX6.0.0.
License requirements : None
numBends | numbends |
void NXOpen::Tooling::DirectUnfoldBuilder::SetNumInter | ( | int | numInter | ) |
Sets the number of intermediate stages.
Created in NX6.0.0.
License requirements : None
numInter | numinter |
void NXOpen::Tooling::DirectUnfoldBuilder::SetOrientPitch | ( | int | orientPitch | ) |
Sets the orientation of pitch.
Created in NX7.5.0.
License requirements : None
orientPitch | orientpitch |
void NXOpen::Tooling::DirectUnfoldBuilder::SetPitch | ( | double | pitch | ) |
Sets the pitch.
Created in NX7.5.0.
License requirements : None
pitch | pitch |
void NXOpen::Tooling::DirectUnfoldBuilder::SetStartStation | ( | int | startStation | ) |
Sets the start station.
Created in NX7.5.0.
License requirements : None
startStation | startstation |
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
type | type |
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