SectionViewBuilder Class

class NXOpen.Features.ShipDesign.SectionViewBuilder

Bases: NXOpen.Builder

It represents NXOpen.Features.ShipDesign.SectionViewBuilder.

The builder is used to create a Ship Section View and returns None.

To create a new instance of this class, use NXOpen.Features.ShipDesign.SectionDrawingBuilder.CreateSectionViewBuilder()

Default values.

Property Value
PlaneType X
SectionRule ByRule
SymmetricalStructure Full

New in version NX10.0.0.

Properties

Property Description
AdditionalStructures Returns the additional structures to be sectioned.
BackProximity Returns or sets the back proximity value
DrawingName Returns or sets the drawing name
DrawingTemplate Returns the drawing template builder, which represents a NXOpen.Features.ShipDesign.DrawingTemplateBuilder.
FlipViewDirection Returns or sets the option to specify whether to flip the view direction or not
FrontProximity Returns or sets the front proximity value
HiddenObjects Returns the hidden object
Offset Returns or sets the offset value
PlaneType Returns or sets the frame type
SectionPlane Returns or sets the section plane
SectionPlaneName Returns or sets the section plane name
SectionRule Returns or sets the section rule
SelectFrame Returns the select frame
SheetScale Returns or sets the scale of the sheet.
ShipStructure Returns the ship structure builder, which represents a NXOpen.Features.ShipDesign.ShipStructureBuilder.
SymmetricalStructure Returns or sets the symmetrical structure
Tag Returns the Tag for this object.
XPosition Returns or sets the ship section view X position
YPosition Returns or sets the ship section view Y position

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.
GetViewDirection Gets the view direction @return
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

SectionViewBuilderDirectionOptions Enumeration Settings to indicate the view direction
SectionViewBuilderPlaneTypes Enumeration Settings to indicate the plane type
SectionViewBuilderSectionRuleOptions Enumeration Settings to indicate the section rule
SectionViewBuilderSymmetricalStructureOptions Enumeration Settings to indicate to show symmetrical structure

Property Detail

AdditionalStructures

SectionViewBuilder.AdditionalStructures

Returns the additional structures to be sectioned.

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

Getter Method

Signature AdditionalStructures()

Returns:
Return type:NXOpen.SelectNXObjectList

New in version NX10.0.0.

Deprecated since version NX11.0.0: Use Features.ShipDesign.ShipStructureBuilder.AdditionalStructures() instead.

License requirements: None.

BackProximity

SectionViewBuilder.BackProximity

Returns or sets the back proximity value

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

Getter Method

Signature BackProximity()

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature BackProximity(backProximity)

Parameters:backProximity (float) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

DrawingName

SectionViewBuilder.DrawingName

Returns or sets the drawing name

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

Getter Method

Signature DrawingName()

Returns:
Return type:str

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature DrawingName(drawingName)

Parameters:drawingName (str) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

DrawingTemplate

SectionViewBuilder.DrawingTemplate

Returns the drawing template builder, which represents a NXOpen.Features.ShipDesign.DrawingTemplateBuilder.

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

Getter Method

Signature DrawingTemplate()

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

New in version NX10.0.0.

License requirements: None.

FlipViewDirection

SectionViewBuilder.FlipViewDirection

Returns or sets the option to specify whether to flip the view direction or not

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

Getter Method

Signature FlipViewDirection()

Returns:
Return type:bool

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature FlipViewDirection(flipViewDirection)

Parameters:flipViewDirection (bool) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

FrontProximity

SectionViewBuilder.FrontProximity

Returns or sets the front proximity value

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

Getter Method

Signature FrontProximity()

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature FrontProximity(frontProximity)

Parameters:frontProximity (float) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

HiddenObjects

SectionViewBuilder.HiddenObjects

Returns the hidden object

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

Getter Method

Signature HiddenObjects()

Returns:
Return type:NXOpen.SelectNXObjectList

New in version NX10.0.0.

Deprecated since version NX11.0.0: Use Features.ShipDesign.ShipStructureBuilder.HiddenObjects() instead.

License requirements: None.

Offset

SectionViewBuilder.Offset

Returns or sets the offset value

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

Getter Method

Signature Offset()

Returns:
Return type:float

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature Offset(offset)

Parameters:offset (float) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

PlaneType

SectionViewBuilder.PlaneType

Returns or sets the frame type

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

Getter Method

Signature PlaneType()

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

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature PlaneType(frameType)

Parameters:frameType (NXOpen.Features.ShipDesign.SectionViewBuilderPlaneTypes) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

SectionPlane

SectionViewBuilder.SectionPlane

Returns or sets the section plane

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

Getter Method

Signature SectionPlane()

Returns:
Return type:NXOpen.Plane

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SectionPlane(sectionPlane)

Parameters:sectionPlane (NXOpen.Plane) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

SectionPlaneName

SectionViewBuilder.SectionPlaneName

Returns or sets the section plane name

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

Getter Method

Signature SectionPlaneName()

Returns:
Return type:str

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SectionPlaneName(sectionPlaneName)

Parameters:sectionPlaneName (str) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

SectionRule

SectionViewBuilder.SectionRule

Returns or sets the section rule

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

Getter Method

Signature SectionRule()

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

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SectionRule(sectionRule)

Parameters:sectionRule (NXOpen.Features.ShipDesign.SectionViewBuilderSectionRuleOptions) –

New in version NX10.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

SelectFrame

SectionViewBuilder.SelectFrame

Returns the select frame

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

Getter Method

Signature SelectFrame()

Returns:
Return type:NXOpen.SelectDatumPlaneList

New in version NX10.0.0.

License requirements: None.

SheetScale

SectionViewBuilder.SheetScale

Returns or sets the scale of the sheet.

The value should be great than zero.

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

Getter Method

Signature SheetScale()

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SheetScale(sheetScale)

Parameters:sheetScale (float) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

ShipStructure

SectionViewBuilder.ShipStructure

Returns the ship structure builder, which represents a NXOpen.Features.ShipDesign.ShipStructureBuilder.

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

Getter Method

Signature ShipStructure()

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

New in version NX11.0.0.

License requirements: None.

SymmetricalStructure

SectionViewBuilder.SymmetricalStructure

Returns or sets the symmetrical structure

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

Getter Method

Signature SymmetricalStructure()

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

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SymmetricalStructure(symmetricalStructure)

Parameters:symmetricalStructure (NXOpen.Features.ShipDesign.SectionViewBuilderSymmetricalStructureOptions) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

XPosition

SectionViewBuilder.XPosition

Returns or sets the ship section view X position

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

Getter Method

Signature XPosition()

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature XPosition(xPosition)

Parameters:xPosition (float) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

YPosition

SectionViewBuilder.YPosition

Returns or sets the ship section view Y position

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

Getter Method

Signature YPosition()

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature YPosition(yPosition)

Parameters:yPosition (float) –

New in version NX11.0.0.

License requirements: nx_ship_drafting (“Ship Drafting”)

Method Detail

GetViewDirection

SectionViewBuilder.GetViewDirection

Gets the view direction

Signature GetViewDirection()

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

New in version NX10.0.0.

License requirements: None.

Validate

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