InverseBendingLinesBuilder Class

class NXOpen.Features.ShipDesign.InverseBendingLinesBuilder

Bases: NXOpen.Features.FeatureBuilder

Used to create or edit a NXOpen.Features.ShipDesign.InverseBendingLines feature.

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 DrawVentHoles

Returns:
Return type:bool

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DrawVentHoles

Parameters: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 Extension

Returns:
Return type:NXOpen.Expression

New 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 FillingCoefficient

Returns:
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FillingCoefficient

Parameters: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 GridSpacing

Returns:
Return type:NXOpen.Expression

New in version NX8.0.0.

License requirements: None.

LowerMargin

InverseBendingLinesBuilder.LowerMargin

Returns the lower margin on the profile.

-------------------------------------

Getter Method

Signature LowerMargin

Returns:
Return type:NXOpen.Expression

New 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.NumberOfCurves or NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType.EvenFit.

-------------------------------------

Getter Method

Signature MaxNumberOfCurves

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MaxNumberOfCurves

Parameters: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 Measure

Returns:
Return type:NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMeasureType

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Measure

Parameters: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 Method

Returns:
Return type:NXOpen.Features.ShipDesign.InverseBendingLinesBuilderMethodType

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Method

Parameters: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 NeutralAxisPercent

Returns:
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NeutralAxisPercent

Parameters: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 NeutralMethod

Returns:
Return type:NXOpen.Features.ShipDesign.InverseBendingLinesBuilderNeutralMethodType

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NeutralMethod

Parameters: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 NonlinearityCoefficient

Returns:
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NonlinearityCoefficient

Parameters: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 NumberOfCurves

Returns:
Return type:int

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NumberOfCurves

Parameters: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 NumberOfRows

Returns:
Return type:int

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NumberOfRows

Parameters: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 OffsetBetweenDiagrams

Returns:
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OffsetBetweenDiagrams

Parameters: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 Overlap

Returns:
Return type:NXOpen.Expression

New 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 ProfileBodies

Returns:
Return type:NXOpen.SelectBodyList

New 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 ReferencePlane

Returns:
Return type:NXOpen.Features.ShipDesign.InverseBendingLinesBuilderReferencePlaneType

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReferencePlane

Parameters: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:

-------------------------------------

Getter Method

Signature ReferencePlanePoint

Returns:
Return type:NXOpen.Point

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReferencePlanePoint

Parameters: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 SideMargin

Returns:
Return type:NXOpen.Expression

New in version NX8.5.0.

License requirements: None.

UpperMargin

InverseBendingLinesBuilder.UpperMargin

Returns the upper margin on the profile.

-------------------------------------

Getter Method

Signature UpperMargin

Returns:
Return type:NXOpen.Expression

New 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 UserCsys

Returns:
Return type:NXOpen.CoordinateSystem

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature UserCsys

Parameters: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 VarMarginIncrement

Returns:
Return type:NXOpen.Expression

New 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 VarMarginMax

Returns:
Return type:NXOpen.Expression

New in version NX8.5.0.

License requirements: None.

VarMarginMin

InverseBendingLinesBuilder.VarMarginMin

Returns the minimum horizontal margin used for profiles.

-------------------------------------

Getter Method

Signature VarMarginMin

Returns:
Return type:NXOpen.Expression

New 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 VarOverlapMax

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature VarOverlapMax

Parameters: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 VarOverlapMin

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature VarOverlapMin

Parameters: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.