DirectUnfoldBuilder Class¶
-
class
NXOpen.Tooling.DirectUnfoldBuilder¶ Bases:
NXOpen.BuilderThe 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 New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| AdditionalBendFaces | Returns the additional bend faces |
| Angle1 | Returns or sets the first angle of prebend. |
| Angle2 | Returns or sets the second angle of prebend. |
| Angle3 | Returns or sets the third angle of prebend. |
| Angle4 | Returns or sets the fourth angle of prebend. |
| Angle5 | Returns or sets the fifth angle of prebend. |
| Angle6 | Returns or sets the sixth angle of prebend. |
| CurBodies | Returns or sets the current body list. |
| DefineNeutralFactor | Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length |
| DesignSequence | Returns or sets the design sequence. |
| DevLength | Returns or sets the operations to developed length of a bend. |
| EditOption | Returns or sets the edit intermediate stage option. |
| InterNamingRule | Returns or sets the naming rule of intermediate stages. |
| InterRenameComp | Returns or sets the switch of rename components. |
| InterStage | Returns the intermediate stages selected as the reference of insert. |
| KFactor | Returns or sets the operations of k factor for a single bend. |
| Materials | Returns or sets the materials available in PDW. |
| NumBends | Returns or sets the number of bends. |
| NumInter | Returns or sets the number of intermediate stages. |
| OrientPitch | Returns or sets the orientation of pitch. |
| Pitch | Returns or sets the pitch. |
| SelPlanarFaces | Returns the planar faces selected as the start of automatic recognition. |
| SelectBend | Returns the selection list that stores bend faces. |
| StartStation | Returns or sets the start station. |
| Tag | Returns the Tag for this object. |
| UnfoldType | Returns or sets the type of direct unfold, the name get_type has been used |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| KByMaterial | Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part. |
| LoadDatabase | Opens process_data Speadsheet in PDW. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| DirectUnfoldBuilderBend Enumeration | The number of children bends in defining prebend. |
| DirectUnfoldBuilderBodyList Enumeration | The name list of bodies in current part. |
| DirectUnfoldBuilderMatType Enumeration | The material database defined in PDW. |
| DirectUnfoldBuilderTypes Enumeration | Specifies the option of direct unfold type |
Property Detail¶
AdditionalBendFaces¶
-
DirectUnfoldBuilder.AdditionalBendFaces¶ Returns the additional bend faces
-------------------------------------Getter Method
Signature
AdditionalBendFacesReturns: Return type: NXOpen.ScCollectorNew in version NX11.0.0.
License requirements: None.
Angle1¶
-
DirectUnfoldBuilder.Angle1¶ Returns or sets the first angle of prebend.
-------------------------------------Getter Method
Signature
Angle1Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle1Parameters: angle1 (float) – New in version NX6.0.0.
License requirements: None.
Angle2¶
-
DirectUnfoldBuilder.Angle2¶ Returns or sets the second angle of prebend.
-------------------------------------Getter Method
Signature
Angle2Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle2Parameters: angle2 (float) – New in version NX6.0.0.
License requirements: None.
Angle3¶
-
DirectUnfoldBuilder.Angle3¶ Returns or sets the third angle of prebend.
-------------------------------------Getter Method
Signature
Angle3Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle3Parameters: angle3 (float) – New in version NX6.0.0.
License requirements: None.
Angle4¶
-
DirectUnfoldBuilder.Angle4¶ Returns or sets the fourth angle of prebend.
-------------------------------------Getter Method
Signature
Angle4Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle4Parameters: angle4 (float) – New in version NX6.0.0.
License requirements: None.
Angle5¶
-
DirectUnfoldBuilder.Angle5¶ Returns or sets the fifth angle of prebend.
-------------------------------------Getter Method
Signature
Angle5Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle5Parameters: angle5 (float) – New in version NX6.0.0.
License requirements: None.
Angle6¶
-
DirectUnfoldBuilder.Angle6¶ Returns or sets the sixth angle of prebend.
-------------------------------------Getter Method
Signature
Angle6Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle6Parameters: angle6 (float) – New in version NX6.0.0.
License requirements: None.
CurBodies¶
-
DirectUnfoldBuilder.CurBodies¶ Returns or sets the current body list.
-------------------------------------Getter Method
Signature
CurBodiesReturns: Return type: NXOpen.Tooling.DirectUnfoldBuilderBodyListNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CurBodiesParameters: curBodies ( NXOpen.Tooling.DirectUnfoldBuilderBodyList) –New in version NX6.0.0.
License requirements: None.
DefineNeutralFactor¶
-
DirectUnfoldBuilder.DefineNeutralFactor¶ Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length
-------------------------------------Getter Method
Signature
DefineNeutralFactorReturns: Return type: NXOpen.Tooling.DefineNeutralFactorBuilderNew in version NX10.0.0.
License requirements: None.
DesignSequence¶
-
DirectUnfoldBuilder.DesignSequence¶ Returns or sets the design sequence.
-------------------------------------Getter Method
Signature
DesignSequenceReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DesignSequenceParameters: designSequence (int) – New in version NX7.5.0.
License requirements: None.
DevLength¶
-
DirectUnfoldBuilder.DevLength¶ Returns or sets the operations to developed length of a bend.
-------------------------------------Getter Method
Signature
DevLengthReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.BendDevelopedLength()instead.License requirements: None.
-------------------------------------Setter Method
Signature
DevLengthParameters: devLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.BendDevelopedLength()instead.License requirements: None.
EditOption¶
-
DirectUnfoldBuilder.EditOption¶ Returns or sets the edit intermediate stage option.
-------------------------------------Getter Method
Signature
EditOptionReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EditOptionParameters: editOption (int) – New in version NX7.5.0.
License requirements: None.
InterNamingRule¶
-
DirectUnfoldBuilder.InterNamingRule¶ Returns or sets the naming rule of intermediate stages.
-------------------------------------Getter Method
Signature
InterNamingRuleReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InterNamingRuleParameters: interNamingRule (str) – New in version NX6.0.0.
License requirements: None.
InterRenameComp¶
-
DirectUnfoldBuilder.InterRenameComp¶ Returns or sets the switch of rename components.
-------------------------------------Getter Method
Signature
InterRenameCompReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InterRenameCompParameters: interRenameComp (bool) – New in version NX6.0.0.
License requirements: None.
InterStage¶
-
DirectUnfoldBuilder.InterStage¶ Returns the intermediate stages selected as the reference of insert.
-------------------------------------Getter Method
Signature
InterStageReturns: Return type: NXOpen.Assemblies.SelectComponentNew in version NX7.5.0.
License requirements: None.
KFactor¶
-
DirectUnfoldBuilder.KFactor¶ Returns or sets the operations of k factor for a single bend.
-------------------------------------Getter Method
Signature
KFactorReturns: Return type: str New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.NeutralFactor()instead.License requirements: None.
-------------------------------------Setter Method
Signature
KFactorParameters: kFactor (str) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.NeutralFactor()instead.License requirements: None.
Materials¶
-
DirectUnfoldBuilder.Materials¶ Returns or sets the materials available in PDW.
-------------------------------------Getter Method
Signature
MaterialsReturns: Return type: NXOpen.Tooling.DirectUnfoldBuilderMatTypeNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.PartMaterial()instead.License requirements: None.
-------------------------------------Setter Method
Signature
MaterialsParameters: materials ( NXOpen.Tooling.DirectUnfoldBuilderMatType) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.PartMaterial()instead.License requirements: None.
NumBends¶
-
DirectUnfoldBuilder.NumBends¶ Returns or sets the number of bends.
-------------------------------------Getter Method
Signature
NumBendsReturns: Return type: NXOpen.Tooling.DirectUnfoldBuilderBendNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumBendsParameters: numBends ( NXOpen.Tooling.DirectUnfoldBuilderBend) –New in version NX6.0.0.
License requirements: None.
NumInter¶
-
DirectUnfoldBuilder.NumInter¶ Returns or sets the number of intermediate stages.
-------------------------------------Getter Method
Signature
NumInterReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumInterParameters: numInter (int) – New in version NX6.0.0.
License requirements: None.
OrientPitch¶
-
DirectUnfoldBuilder.OrientPitch¶ Returns or sets the orientation of pitch.
-------------------------------------Getter Method
Signature
OrientPitchReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OrientPitchParameters: orientPitch (int) – New in version NX7.5.0.
License requirements: None.
Pitch¶
-
DirectUnfoldBuilder.Pitch¶ Returns or sets the pitch.
-------------------------------------Getter Method
Signature
PitchReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PitchParameters: pitch (float) – New in version NX7.5.0.
License requirements: None.
SelPlanarFaces¶
-
DirectUnfoldBuilder.SelPlanarFaces¶ Returns the planar faces selected as the start of automatic recognition.
-------------------------------------Getter Method
Signature
SelPlanarFacesReturns: Return type: NXOpen.SelectFaceListNew in version NX6.0.0.
License requirements: None.
SelectBend¶
-
DirectUnfoldBuilder.SelectBend¶ Returns the selection list that stores bend faces.
-------------------------------------Getter Method
Signature
SelectBendReturns: Return type: NXOpen.SelectFaceListNew in version NX6.0.0.
License requirements: None.
StartStation¶
-
DirectUnfoldBuilder.StartStation¶ Returns or sets the start station.
-------------------------------------Getter Method
Signature
StartStationReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StartStationParameters: startStation (int) – New in version NX7.5.0.
License requirements: None.
UnfoldType¶
-
DirectUnfoldBuilder.UnfoldType¶ Returns or sets the type of direct unfold, the name get_type has been used
-------------------------------------Getter Method
Signature
UnfoldTypeReturns: Return type: NXOpen.Tooling.DirectUnfoldBuilderTypesNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UnfoldTypeParameters: type ( NXOpen.Tooling.DirectUnfoldBuilderTypes) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
KByMaterial¶
-
DirectUnfoldBuilder.KByMaterial¶ Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part.
Signature
KByMaterial()New in version NX6.0.0.
Deprecated since version NX10.0.0: This functionality is no longer supported.
License requirements: None.
LoadDatabase¶
-
DirectUnfoldBuilder.LoadDatabase¶ Opens process_data Speadsheet in PDW.
Signature
LoadDatabase()New in version NX6.0.0.
Deprecated since version NX10.0.0: This functionality is no longer supported.
License requirements: None.
Validate¶
-
DirectUnfoldBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.