NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Features::ShipDesign::InverseBendingLinesBuilder Class Reference

Used to create or edit a Features::ShipDesign::InverseBendingLines feature. More...

Inheritance diagram for NXOpen::Features::ShipDesign::InverseBendingLinesBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  MeasureType { MeasureTypeLeftToRight, MeasureTypeRightToLeft }
 The direction to measure from. More...
enum  MethodType { MethodTypeAutomatic, MethodTypeNumberOfCurves, MethodTypeFillingCoefficient }
 The method used to generate the bending curves. More...
enum  NeutralMethodType { NeutralMethodTypeBaseLine, NeutralMethodTypeCenterLine, NeutralMethodTypeNeutralAxis }
 The method used to calculate the neutral line. More...
enum  ReferencePlaneType {
  ReferencePlaneTypeXCYCPlane, ReferencePlaneTypeYCZCPlane, ReferencePlaneTypeZCXCPlane, ReferencePlaneTypeNegativeXCYCPlane,
  ReferencePlaneTypeNegativeYCZCPlane, ReferencePlaneTypeNegativeZCXCPlane, ReferencePlaneTypeDefineCSYS
}
 The reference plane to draw the diagram on. More...

Public Member Functions

bool DrawVentHoles ()
 Returns the switch that determines if vent holes are drawn in the diagram.
NXOpen::ExpressionExtension ()
 Returns the extension added on each end of the profile.
double FillingCoefficient ()
 Returns the filling coefficient that represents the amplitude of the bending line relative to the profile height.
std::vector< NXOpen::Body * > GetFailedProfiles (std::vector< int > &failedReasons)
 The profiles that failed and error code for each failed profile.
NXOpen::ExpressionGridSpacing ()
 Returns the grid spacing in the diagram.
NXOpen::ExpressionLowerMargin ()
 Returns the lower margin on the profile.
NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::MeasureType Measure ()
 Returns the measurement direction used in the table, left to right, or right to left.
NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::MethodType Method ()
 Returns the method used to calculate the number and spacing of the curves on the profile.
double NeutralAxisPercent ()
 Returns the height of a line through the profile that maintains a constant length when the profile is bent.
NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::NeutralMethodType NeutralMethod ()
 Returns the neutral method determines the curve that is used for measurements and calculations when un-bending the profile.
double NonlinearityCoefficient ()
 Returns the nonlinearity coefficient used to determine the bending curve spacing.
int NumberOfCurves ()
 Returns the number of curves to generate on the profile.
int NumberOfRows ()
 Returns the number of rows in the table.
double OffsetBetweenDiagrams ()
 Returns the distance between the bottom of one table and the top of the next diagram.
NXOpen::ExpressionOverlap ()
 Returns the overlap distance of the bending curves.
NXOpen::SelectBodyListProfileBodies ()
 Returns the profile bodies to create Inverse Bending Lines on.
NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::ReferencePlaneType ReferencePlane ()
 Returns the reference plane type determines how you will define the plane of the diagram and table
Created in NX8.0.0.
NXOpen::PointReferencePlanePoint ()
 Returns the reference plane origin when one of the standard planes is chosen.
void SetDrawVentHoles (bool drawVentHoles)
 Sets the switch that determines if vent holes are drawn in the diagram.
void SetFillingCoefficient (double fillingCoefficient)
 Sets the filling coefficient that represents the amplitude of the bending line relative to the profile height.
void SetMeasure (NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::MeasureType measure)
 Sets the measurement direction used in the table, left to right, or right to left.
void SetMethod (NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::MethodType method)
 Sets the method used to calculate the number and spacing of the curves on the profile.
void SetNeutralAxisPercent (double neutralAxisPercent)
 Sets the height of a line through the profile that maintains a constant length when the profile is bent.
void SetNeutralMethod (NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::NeutralMethodType neutralMethod)
 Sets the neutral method determines the curve that is used for measurements and calculations when un-bending the profile.
void SetNonlinearityCoefficient (double nonlinearityCoefficient)
 Sets the nonlinearity coefficient used to determine the bending curve spacing.
void SetNumberOfCurves (int numberOfCurves)
 Sets the number of curves to generate on the profile.
void SetNumberOfRows (int numberOfRows)
 Sets the number of rows in the table.
void SetOffsetBetweenDiagrams (double offsetBetweenDiagrams)
 Sets the distance between the bottom of one table and the top of the next diagram.
void SetReferencePlane (NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::ReferencePlaneType referencePlane)
 Sets the reference plane type determines how you will define the plane of the diagram and table
Created in NX8.0.0.
void SetReferencePlanePoint (NXOpen::Point *referencePlanePoint)
 Sets the reference plane origin when one of the standard planes is chosen.
void SetUserCsys (NXOpen::CoordinateSystem *userCsys)
 Sets the user defined CSYS used to locate and orient the tables and diagrams.
NXOpen::ExpressionUpperMargin ()
 Returns the upper margin on the profile.
NXOpen::CoordinateSystemUserCsys ()
 Returns the user defined CSYS used to locate and orient the tables and diagrams.

Detailed Description

Used to create or edit a 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 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)

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

UpperMargin.Value

5 (millimeters part), 4 (inches part)


Created in NX8.0.0.


Member Enumeration Documentation

The direction to measure from.

Enumerator:
MeasureTypeLeftToRight 

Left to right.

MeasureTypeRightToLeft 

Right to left.

The method used to generate the bending curves.

Enumerator:
MethodTypeAutomatic 

Automatic.

MethodTypeNumberOfCurves 

Number of curves.

MethodTypeFillingCoefficient 

Filling Coefficient.

The method used to calculate the neutral line.

Enumerator:
NeutralMethodTypeBaseLine 

Base line.

NeutralMethodTypeCenterLine 

Center line.

NeutralMethodTypeNeutralAxis 

Neutral axis.

The reference plane to draw the diagram on.

Enumerator:
ReferencePlaneTypeXCYCPlane 

XC-YC plane.

ReferencePlaneTypeYCZCPlane 

YC-ZC plane.

ReferencePlaneTypeZCXCPlane 

ZC-XC plane.

ReferencePlaneTypeNegativeXCYCPlane 

-XC-YC plane.

ReferencePlaneTypeNegativeYCZCPlane 

-YC-ZC plane.

ReferencePlaneTypeNegativeZCXCPlane 

-ZC-XC plane.

ReferencePlaneTypeDefineCSYS 

User defined plane.


Member Function Documentation

Returns the switch that determines if vent holes are drawn in the diagram.


Created in NX8.0.0.

License requirements : None

Returns the extension added on each end of the profile.


Created in NX8.0.0.

License requirements : None

Returns the filling coefficient that represents the amplitude of the bending line relative to the profile height.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeFillingCoefficient .


Created in NX8.0.0.

License requirements : None

std::vector<NXOpen::Body *> NXOpen::Features::ShipDesign::InverseBendingLinesBuilder::GetFailedProfiles ( std::vector< int > &  failedReasons)

The profiles that failed and error code for each failed profile.

Returns:
The profiles that failed.
Created in NX8.0.0.

License requirements : None
Parameters:
failedReasonsThe error code for each failure.

Returns the grid spacing in the diagram.


Created in NX8.0.0.

License requirements : None

Returns the lower margin on the profile.


Created in NX8.0.0.

License requirements : None

Returns the measurement direction used in the table, left to right, or right to left.


Created in NX8.0.0.

License requirements : None

Returns the method used to calculate the number and spacing of the curves on the profile.


Created in NX8.0.0.

License requirements : None

Returns 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.


Created in NX8.0.0.

License requirements : None

Returns the neutral method determines the curve that is used for measurements and calculations when un-bending the profile.


Created in NX8.0.0.

License requirements : None

Returns the nonlinearity coefficient used to determine the bending curve spacing.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeNumberOfCurves .


Created in NX8.0.0.

License requirements : None

Returns the number of curves to generate on the profile.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeNumberOfCurves .


Created in NX8.0.0.

License requirements : None

Returns the number of rows in the table.


Created in NX8.0.0.

License requirements : None

Returns the distance between the bottom of one table and the top of the next diagram.


Created in NX8.0.0.

License requirements : None

Returns the overlap distance of the bending curves.


Created in NX8.0.0.

License requirements : None

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.



Created in NX8.0.0.

License requirements : None

Returns the reference plane type determines how you will define the plane of the diagram and table
Created in NX8.0.0.



License requirements : None

Sets the switch that determines if vent holes are drawn in the diagram.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
drawVentHolesdrawventholes

Sets the filling coefficient that represents the amplitude of the bending line relative to the profile height.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeFillingCoefficient .


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
fillingCoefficientfillingcoefficient

Sets the measurement direction used in the table, left to right, or right to left.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
measuremeasure

Sets the method used to calculate the number and spacing of the curves on the profile.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
methodmethod

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.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
neutralAxisPercentneutralaxispercent

Sets the neutral method determines the curve that is used for measurements and calculations when un-bending the profile.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
neutralMethodneutralmethod

Sets the nonlinearity coefficient used to determine the bending curve spacing.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeNumberOfCurves .


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
nonlinearityCoefficientnonlinearitycoefficient

Sets the number of curves to generate on the profile.

Only when method is Features::ShipDesign::InverseBendingLinesBuilder::MethodTypeNumberOfCurves .


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
numberOfCurvesnumberofcurves

Sets the number of rows in the table.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
numberOfRowsnumberofrows

Sets the distance between the bottom of one table and the top of the next diagram.


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
offsetBetweenDiagramsoffsetbetweendiagrams

Sets the reference plane type determines how you will define the plane of the diagram and table
Created in NX8.0.0.



License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
referencePlanereferenceplane

Sets the user defined CSYS used to locate and orient the tables and diagrams.

Only when reference plane type is Features::ShipDesign::InverseBendingLinesBuilder::ReferencePlaneTypeDefineCSYS .


Created in NX8.0.0.

License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters:
userCsysusercsys

Returns the upper margin on the profile.


Created in NX8.0.0.

License requirements : None

Returns the user defined CSYS used to locate and orient the tables and diagrams.

Only when reference plane type is Features::ShipDesign::InverseBendingLinesBuilder::ReferencePlaneTypeDefineCSYS .


Created in NX8.0.0.

License requirements : None


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