EditStockBuilder Class

class NXOpen.Features.ShipDesign.EditStockBuilder

Bases: NXOpen.Features.FeatureBuilder

Used to create a NXOpen.Features.ShipDesign.EditStockBuilder which is used to change the stock information on the basic design features.

To create a new instance of this class, use NXOpen.Features.ShipCollection.CreateEditStockBuilder()

Default values.

Property Value
Offset.Value 0 (millimeters part), 0 (inches part)
PlateStock.KnuckleRatio 3.0
PlateStock.KnuckleSmoothAngle 3.0
PlateStock.MaterialOption 0
PlateStock.OppositeThickness.Value 0 (millimeters part), 0 (inches part)
PlateStock.RestrictThicknessToMaterial true
PlateStock.ThickenOption SingleSided
PlateStock.Thickness.Value 10 (millimeters part), 0.5 (inches part)
PlateStock.ThicknessSourceOption List
SectionType Profile
StiffenerStock.AnchorPoint 0
StiffenerStock.PlateHeight.Value 50 (millimeters part), 2 (inches part)
StiffenerStock.SectionType Profile

New in version NX8.0.0.

Properties

Property Description
BuiltUpPillarStock Returns the stock data used to define the built up stock information of the pillar.
EndCutEnd Returns or sets the end cut to use at the end of the stiffener sub system.
EndCutStart Returns or sets the end cut to use at the start of the stiffener sub system.
MountingMethod Returns or sets the mounting method
Offset Returns the offset to apply to the current plate system mold face to produce the desired mold face.
OrientationAngle Returns the angle at which the stiffener system is placed relative to the reference.
OrientationAnglePillar Returns the angle at which the pillar system is placed relative to the reference.
OrientationLinePillar Returns the line specified for the pillar system angle reference.
OrientationMethod Returns or sets the method used to define the reference for the orientation angle of stiffener system.
OrientationVector Returns or sets the vector specified for the orientation angle reference.
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
PillarStock Returns the stock data used to define the stock information of the pillar.
PlateStock Returns the plate stock builder, used to define the plate material, grade, thickness, mass density, thicken option and opposite thickness.
Reverse Returns or sets the indication whether the direction of the flange should be reversed on this stiffener system.
SectionType Returns or sets the section type (profile or built up) for pillar system.
ShipStructure Returns the ship structures to change the stock information
StiffenerStock Returns the stock data used to define the stock information of the stiffener.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
Tightness Returns or sets the tightness to apply to plate and subplate systems.

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.
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
SetPillarDirection Sets the pillar direction.
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
UpdateStockInformation Update stock information
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

BuiltUpPillarStock

EditStockBuilder.BuiltUpPillarStock

Returns the stock data used to define the built up stock information of the pillar.

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

Getter Method

Signature BuiltUpPillarStock

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

New in version NX9.0.0.

License requirements: None.

EndCutEnd

EditStockBuilder.EndCutEnd

Returns or sets the end cut to use at the end of the stiffener sub system.

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

Getter Method

Signature EndCutEnd

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

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature EndCutEnd

Parameters:endCutEnd (NXOpen.Features.ShipDesign.StiffenerSystemBuilderEndCutTypes) –

New in version NX8.5.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

EndCutStart

EditStockBuilder.EndCutStart

Returns or sets the end cut to use at the start of the stiffener sub system.

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

Getter Method

Signature EndCutStart

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

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature EndCutStart

Parameters:endCutStart (NXOpen.Features.ShipDesign.StiffenerSystemBuilderEndCutTypes) –

New in version NX8.5.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

MountingMethod

EditStockBuilder.MountingMethod

Returns or sets the mounting method

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

Getter Method

Signature MountingMethod

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

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature MountingMethod

Parameters:mountingMethod (NXOpen.Features.ShipDesign.StiffenerSystemBuilderMountingMethods) –

New in version NX10.0.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

Offset

EditStockBuilder.Offset

Returns the offset to apply to the current plate system mold face to produce the desired mold face.

The offset is applied in the thickness direction defined in the plate system feature

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

Getter Method

Signature Offset

Returns:
Return type:NXOpen.Expression

New in version NX8.0.0.

License requirements: None.

OrientationAngle

EditStockBuilder.OrientationAngle

Returns the angle at which the stiffener system is placed relative to the reference.

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

Getter Method

Signature OrientationAngle

Returns:
Return type:NXOpen.Expression

New in version NX8.5.0.

Deprecated since version NX10.0.0: Orientation angle can only be modified on the full profile system itself.

License requirements: None.

OrientationAnglePillar

EditStockBuilder.OrientationAnglePillar

Returns the angle at which the pillar system is placed relative to the reference.

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

Getter Method

Signature OrientationAnglePillar

Returns:
Return type:NXOpen.Expression

New in version NX8.5.0.

License requirements: None.

OrientationLinePillar

EditStockBuilder.OrientationLinePillar

Returns the line specified for the pillar system angle reference.

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

Getter Method

Signature OrientationLinePillar

Returns:
Return type:NXOpen.SelectCurve

New in version NX8.5.0.

License requirements: None.

OrientationMethod

EditStockBuilder.OrientationMethod

Returns or sets the method used to define the reference for the orientation angle of stiffener system.

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

Getter Method

Signature OrientationMethod

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

New in version NX8.5.0.

Deprecated since version NX10.0.0: Orientation method can only be modified on the full profile system itself.

License requirements: None.

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

Setter Method

Signature OrientationMethod

Parameters:orientationMethod (NXOpen.Features.ShipDesign.StiffenerSystemBuilderOrientationMethods) –

New in version NX8.5.0.

Deprecated since version NX10.0.0: Orientation method can only be modified on the full profile system itself.

License requirements: nx_ship_basic (“Ship Basic Design”)

OrientationVector

EditStockBuilder.OrientationVector

Returns or sets the vector specified for the orientation angle reference.

Only used when when Method is NXOpen.Features.ShipDesign.StiffenerSystemBuilderOrientationMethods.Vector..

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

Getter Method

Signature OrientationVector

Returns:
Return type:NXOpen.Direction

New in version NX8.5.0.

Deprecated since version NX10.0.0: Orientation vector can only be modified on the full profile system itself.

License requirements: None.

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

Setter Method

Signature OrientationVector

Parameters:orientationVector (NXOpen.Direction) –

New in version NX8.5.0.

Deprecated since version NX10.0.0: Orientation vector can only be modified on the full profile system itself.

License requirements: nx_ship_basic (“Ship Basic Design”)

PillarStock

EditStockBuilder.PillarStock

Returns the stock data used to define the stock information of the pillar.

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

Getter Method

Signature PillarStock

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

New in version NX8.0.0.

License requirements: None.

PlateStock

EditStockBuilder.PlateStock

Returns the plate stock builder, used to define the plate material, grade, thickness, mass density, thicken option and opposite thickness.

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

Getter Method

Signature PlateStock

Returns:Plate Stock Builder
Return type:NXOpen.Features.ShipDesign.PlateStockBuilder

New in version NX8.0.0.

License requirements: None.

Reverse

EditStockBuilder.Reverse

Returns or sets the indication whether the direction of the flange should be reversed on this stiffener system.

The default direction is based on the ship structure that the stiffener is being built upon.

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

Getter Method

Signature Reverse

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature Reverse

Parameters:reverse (bool) –

New in version NX8.5.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

SectionType

EditStockBuilder.SectionType

Returns or sets the section type (profile or built up) for pillar system.

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

Getter Method

Signature SectionType

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

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature SectionType

Parameters:sectionType (NXOpen.Features.ShipDesign.PillarSystemBuilderStockSectionType) –

New in version NX9.0.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

ShipStructure

EditStockBuilder.ShipStructure

Returns the ship structures to change the stock information

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

Getter Method

Signature ShipStructure

Returns:
Return type:NXOpen.SelectTaggedObjectList

New in version NX8.0.0.

License requirements: None.

StiffenerStock

EditStockBuilder.StiffenerStock

Returns the stock data used to define the stock information of the stiffener.

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

Getter Method

Signature StiffenerStock

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

New in version NX8.0.0.

License requirements: None.

Tightness

EditStockBuilder.Tightness

Returns or sets the tightness to apply to plate and subplate systems.

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

Getter Method

Signature Tightness

Returns:
Return type:int

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature Tightness

Parameters:tightness (int) –

New in version NX10.0.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

Method Detail

SetPillarDirection

EditStockBuilder.SetPillarDirection

Sets the pillar direction.

Signature SetPillarDirection(direction)

Parameters:direction (NXOpen.Direction) –

New in version NX8.5.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

UpdateStockInformation

EditStockBuilder.UpdateStockInformation

Update stock information

Signature UpdateStockInformation(shipStructure)

Parameters:shipStructure (NXOpen.NXObject) –

New in version NX8.5.0.

License requirements: nx_ship_basic (“Ship Basic Design”)

Validate

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