InverseBendingLinesBuilder Class¶
-
class
NXOpen.Features.ShipDesign.InverseBendingLinesBuilder¶ Bases:
NXOpen.Features.FeatureBuilderUsed to create or edit a
NXOpen.Features.ShipDesign.InverseBendingLinesfeature.This builder can create or edit multiple features, depending on the number of profile bodies input.
To create a new instance of this class, use
NXOpen.Features.ShipCollection.CreateInverseBendingLinesBuilder()Default values.
Property Value DrawVentHoles 1 Extension.Value 0 (millimeters part), 0 (inches part) FillingCoefficient 0.75 GridSpacing.Value 200 (millimeters part), 0 (inches part) LowerMargin.Value 2.5 (millimeters part), 0 (inches part) MaxNumberOfCurves 5 Measure LeftToRight Method Automatic NeutralAxisPercent 60 NeutralMethod BaseLine NonlinearityCoefficient 0.3 NumberOfCurves 2 NumberOfRows 10 OffsetBetweenDiagrams 500 Overlap.Value 200 (millimeters part), 0 (inches part) ReferencePlane XCYCPlane SideMargin.Value 0 (millimeters part), 0 (inches part) UpperMargin.Value 5 (millimeters part), 4 (inches part) VarMarginIncrement.Value 20 (millimeters part), 0.75 (inches part) VarMarginMax.Value 75 (millimeters part), 3 (inches part) VarMarginMin.Value 15 (millimeters part), 0.75 (inches part) VarOverlapMax 2 VarOverlapMin 1 New in version NX8.0.0.
Properties¶
| Property | Description |
|---|---|
| DrawVentHoles | Returns or sets the switch that determines if vent holes are drawn in the diagram. |
| Extension | Returns the extension added on each end of the profile. |
| FillingCoefficient | Returns or sets the filling coefficient that represents the amplitude of the bending line relative to the profile height. |
| GridSpacing | Returns the grid spacing in the diagram. |
| LowerMargin | Returns the lower margin on the profile. |
| MaxNumberOfCurves | Returns or sets the maximum number of curves to generate on the profile. |
| Measure | Returns or sets the measurement direction used in the table, left to right, or right to left. |
| Method | Returns or sets the method used to calculate the number and spacing of the curves on the profile. |
| NeutralAxisPercent | Returns or sets the height of a line through the profile that maintains a constant length when the profile is bent. |
| NeutralMethod | Returns or sets the neutral method determines the curve that is used for measurements and calculations when un-bending the profile. |
| NonlinearityCoefficient | Returns or sets the nonlinearity coefficient used to determine the bending curve spacing. |
| NumberOfCurves | Returns or sets the number of curves to generate on the profile. |
| NumberOfRows | Returns or sets the number of rows in the table. |
| OffsetBetweenDiagrams | Returns or sets the distance between the bottom of one table and the top of the next diagram. |
| Overlap | Returns the overlap distance of the bending curves. |
| ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
| PatchSolutionFlag | Returns or sets the patch solution flag |
| PatchSurfaceFilename | Returns or sets the patch surface filename |
| ProfileBodies | Returns the profile bodies to create Inverse Bending Lines on. |
| ReferencePlane | Returns or sets the reference plane type determines how you will define the plane of the diagram and table |
| ReferencePlanePoint | Returns or sets the reference plane origin when one of the standard planes is chosen. |
| SideMargin | Returns the side margin on each end of the profile. |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| UpperMargin | Returns the upper margin on the profile. |
| UserCsys | Returns or sets the user defined CSYS used to locate and orient the tables and diagrams. |
| VarMarginIncrement | Returns the Increment used to vary horizontal margins for profiles. |
| VarMarginMax | Returns the maximum horizontal margin used for profiles. |
| VarMarginMin | Returns the minimum horizontal margin used for profiles. |
| VarOverlapMax | Returns or sets the variable aligned overlap maximum number of grids. |
| VarOverlapMin | Returns or sets the variable aligned overlap minimum number of grids. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitFeature | Commits the feature parameters and creates the feature |
| 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. |
| GetFailedProfiles | The profiles that failed and error code for each failed profile. |
| GetFeature | Returns the feature currently being edited by this builder. |
| GetObject | Returns the object currently being edited by this builder. |
| HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
| SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
| ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| InverseBendingLinesBuilderMeasureType Enumeration | The direction to measure from. |
| InverseBendingLinesBuilderMethodType Enumeration | The method used to generate the bending curves. |
| InverseBendingLinesBuilderNeutralMethodType Enumeration | The method used to calculate the neutral line. |
| InverseBendingLinesBuilderReferencePlaneType Enumeration | The reference plane to draw the diagram on. |
Property Detail¶
DrawVentHoles¶
-
InverseBendingLinesBuilder.DrawVentHoles¶ Returns or sets the switch that determines if vent holes are drawn in the diagram.
-------------------------------------Getter Method
Signature
DrawVentHolesReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrawVentHolesParameters: drawVentHoles (bool) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
Extension¶
-
InverseBendingLinesBuilder.Extension¶ Returns the extension added on each end of the profile.
-------------------------------------Getter Method
Signature
ExtensionReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
FillingCoefficient¶
-
InverseBendingLinesBuilder.FillingCoefficient¶ Returns or sets the filling coefficient that represents the amplitude of the bending line relative to the profile height.
Only when method is
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.FillingCoefficient.-------------------------------------Getter Method
Signature
FillingCoefficientReturns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FillingCoefficientParameters: fillingCoefficient (float) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
GridSpacing¶
-
InverseBendingLinesBuilder.GridSpacing¶ Returns the grid spacing in the diagram.
-------------------------------------Getter Method
Signature
GridSpacingReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
LowerMargin¶
-
InverseBendingLinesBuilder.LowerMargin¶ Returns the lower margin on the profile.
-------------------------------------Getter Method
Signature
LowerMarginReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
MaxNumberOfCurves¶
-
InverseBendingLinesBuilder.MaxNumberOfCurves¶ Returns or sets the maximum number of curves to generate on the profile.
Only when method is
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.NumberOfCurvesorNXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.EvenFit.-------------------------------------Getter Method
Signature
MaxNumberOfCurvesReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaxNumberOfCurvesParameters: maxNumberOfCurves (int) – New in version NX8.5.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
Measure¶
-
InverseBendingLinesBuilder.Measure¶ Returns or sets the measurement direction used in the table, left to right, or right to left.
-------------------------------------Getter Method
Signature
MeasureReturns: Return type: NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMeasureTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MeasureParameters: measure ( NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMeasureType) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
Method¶
-
InverseBendingLinesBuilder.Method¶ Returns or sets the method used to calculate the number and spacing of the curves on the profile.
-------------------------------------Getter Method
Signature
MethodReturns: Return type: NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MethodParameters: method ( NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
NeutralAxisPercent¶
-
InverseBendingLinesBuilder.NeutralAxisPercent¶ Returns or sets the height of a line through the profile that maintains a constant length when the profile is bent.
Measured as a percentage of the profile height relative to the base line.
-------------------------------------Getter Method
Signature
NeutralAxisPercentReturns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NeutralAxisPercentParameters: neutralAxisPercent (float) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
NeutralMethod¶
-
InverseBendingLinesBuilder.NeutralMethod¶ Returns or sets the neutral method determines the curve that is used for measurements and calculations when un-bending the profile.
-------------------------------------Getter Method
Signature
NeutralMethodReturns: Return type: NXOpen.Features.ShipDesign.InverseBendingLinesBuilderNeutralMethodTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NeutralMethodParameters: neutralMethod ( NXOpen.Features.ShipDesign.InverseBendingLinesBuilderNeutralMethodType) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
NonlinearityCoefficient¶
-
InverseBendingLinesBuilder.NonlinearityCoefficient¶ Returns or sets the nonlinearity coefficient used to determine the bending curve spacing.
Only when method is
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.NumberOfCurves.-------------------------------------Getter Method
Signature
NonlinearityCoefficientReturns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NonlinearityCoefficientParameters: nonlinearityCoefficient (float) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
NumberOfCurves¶
-
InverseBendingLinesBuilder.NumberOfCurves¶ Returns or sets the number of curves to generate on the profile.
Only when method is
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.NumberOfCurves.-------------------------------------Getter Method
Signature
NumberOfCurvesReturns: Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberOfCurvesParameters: numberOfCurves (int) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
NumberOfRows¶
-
InverseBendingLinesBuilder.NumberOfRows¶ Returns or sets the number of rows in the table.
-------------------------------------Getter Method
Signature
NumberOfRowsReturns: Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberOfRowsParameters: numberOfRows (int) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
OffsetBetweenDiagrams¶
-
InverseBendingLinesBuilder.OffsetBetweenDiagrams¶ Returns or sets the distance between the bottom of one table and the top of the next diagram.
-------------------------------------Getter Method
Signature
OffsetBetweenDiagramsReturns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OffsetBetweenDiagramsParameters: offsetBetweenDiagrams (float) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
Overlap¶
-
InverseBendingLinesBuilder.Overlap¶ Returns the overlap distance of the bending curves.
-------------------------------------Getter Method
Signature
OverlapReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
ProfileBodies¶
-
InverseBendingLinesBuilder.ProfileBodies¶ Returns the profile bodies to create Inverse Bending Lines on.
The list can be populated in any one of the following ways:
- If the list of profile bodies is empty, the function will search the current workset for any bent profiles. For each
profile that does not have an Inverse Bending Lines feature, a new one is created. A profile that already has an Inverse Bending Lines feature associated to it, is edited with the new parameters.
- If the list contains one or more profiles and no feature is given, an Inverse Bending Lines features will
- be created or edited for each profile in the list.
- If a feature is supplied to be edited, the list must contain a single bent profile that resides in the
same design element as the feature.
-------------------------------------Getter Method
Signature
ProfileBodiesReturns: Return type: NXOpen.SelectBodyListNew in version NX8.0.0.
License requirements: None.
ReferencePlane¶
-
InverseBendingLinesBuilder.ReferencePlane¶ Returns or sets the reference plane type determines how you will define the plane of the diagram and table
-------------------------------------Getter Method
Signature
ReferencePlaneReturns: Return type: NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferencePlaneParameters: referencePlane ( NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
ReferencePlanePoint¶
-
InverseBendingLinesBuilder.ReferencePlanePoint¶ Returns or sets the reference plane origin when one of the standard planes is chosen.
Only when reference plane type is one of:
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.XCYCPlane.NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.YCZCPlane.NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.ZCXCPlane.NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.NegativeXCYCPlane.NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.NegativeYCZCPlane.NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.NegativeZCXCPlane.
-------------------------------------Getter Method
Signature
ReferencePlanePointReturns: Return type: NXOpen.PointNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferencePlanePointParameters: referencePlanePoint ( NXOpen.Point) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
SideMargin¶
-
InverseBendingLinesBuilder.SideMargin¶ Returns the side margin on each end of the profile.
-------------------------------------Getter Method
Signature
SideMarginReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
UpperMargin¶
-
InverseBendingLinesBuilder.UpperMargin¶ Returns the upper margin on the profile.
-------------------------------------Getter Method
Signature
UpperMarginReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
UserCsys¶
-
InverseBendingLinesBuilder.UserCsys¶ Returns or sets the user defined CSYS used to locate and orient the tables and diagrams.
Only when reference plane type is
NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType.DefineCSYS.-------------------------------------Getter Method
Signature
UserCsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UserCsysParameters: userCsys ( NXOpen.CoordinateSystem) –New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
VarMarginIncrement¶
-
InverseBendingLinesBuilder.VarMarginIncrement¶ Returns the Increment used to vary horizontal margins for profiles.
-------------------------------------Getter Method
Signature
VarMarginIncrementReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_ship_concept (“Ship Concept”) OR nx_ship_mfg_prep (“Ship Manufacturing”)
VarMarginMax¶
-
InverseBendingLinesBuilder.VarMarginMax¶ Returns the maximum horizontal margin used for profiles.
-------------------------------------Getter Method
Signature
VarMarginMaxReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
VarMarginMin¶
-
InverseBendingLinesBuilder.VarMarginMin¶ Returns the minimum horizontal margin used for profiles.
-------------------------------------Getter Method
Signature
VarMarginMinReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
VarOverlapMax¶
-
InverseBendingLinesBuilder.VarOverlapMax¶ Returns or sets the variable aligned overlap maximum number of grids.
-------------------------------------Getter Method
Signature
VarOverlapMaxReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VarOverlapMaxParameters: varOverlapMax (int) – New in version NX8.0.0.
License requirements: nx_ship_concept (“Ship Concept”)
VarOverlapMin¶
-
InverseBendingLinesBuilder.VarOverlapMin¶ Returns or sets the variable aligned overlap minimum number of grids.
-------------------------------------Getter Method
Signature
VarOverlapMinReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VarOverlapMinParameters: varOverlapMin (int) – New in version NX8.5.0.
License requirements: nx_ship_concept (“Ship Concept”)
Method Detail¶
GetFailedProfiles¶
-
InverseBendingLinesBuilder.GetFailedProfiles¶ The profiles that failed and error code for each failed profile.
Signature
GetFailedProfiles()Returns: a tuple Return type: A tuple consisting of (failedProfiles, failedReasons). failedProfiles is a list of NXOpen.Body. The profiles that failed. failedReasons is a list of int. The error code for each failure.New in version NX8.0.0.
License requirements: None.
Validate¶
-
InverseBendingLinesBuilder.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.