SectionViewBuilder Class¶
-
class
NXOpen.Features.ShipDesign.SectionViewBuilder¶ Bases:
NXOpen.BuilderIt 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()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 |
| DrawingSheet | Returns or sets the sheet on which to create this view. |
| 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 |
| 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
AdditionalStructuresReturns: Return type: NXOpen.SelectNXObjectListNew 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
BackProximityReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BackProximityParameters: 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
DrawingNameReturns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrawingNameParameters: drawingName (str) – New in version NX10.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
DrawingSheet¶
-
SectionViewBuilder.DrawingSheet¶ Returns or sets the sheet on which to create this view.
The drawing sheet can be a new created drawing sheet or an existing drawing sheet.
-------------------------------------Getter Method
Signature
DrawingSheetReturns: Return type: NXOpen.Features.ShipDesign.DrawingSheetBuilderNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrawingSheetParameters: drawingSheet ( NXOpen.Features.ShipDesign.DrawingSheetBuilder) –New in version NX12.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
DrawingTemplateReturns: Return type: NXOpen.Features.ShipDesign.DrawingTemplateBuilderNew 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
FlipViewDirectionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FlipViewDirectionParameters: 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
FrontProximityReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FrontProximityParameters: frontProximity (float) – New in version NX11.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
Offset¶
-
SectionViewBuilder.Offset¶ Returns or sets the offset value
-------------------------------------Getter Method
Signature
OffsetReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OffsetParameters: 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
PlaneTypeReturns: Return type: NXOpen.Features.ShipDesign.SectionViewBuilderPlaneTypesNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlaneTypeParameters: 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
SectionPlaneReturns: Return type: NXOpen.PlaneNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionPlaneParameters: 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
SectionPlaneNameReturns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionPlaneNameParameters: 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
SectionRuleReturns: Return type: NXOpen.Features.ShipDesign.SectionViewBuilderSectionRuleOptionsNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionRuleParameters: 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
SelectFrameReturns: Return type: NXOpen.SelectDatumPlaneListNew 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
SheetScaleReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SheetScaleParameters: 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
ShipStructureReturns: Return type: NXOpen.Features.ShipDesign.ShipStructureBuilderNew in version NX11.0.0.
License requirements: None.
SymmetricalStructure¶
-
SectionViewBuilder.SymmetricalStructure¶ Returns or sets the symmetrical structure
-------------------------------------Getter Method
Signature
SymmetricalStructureReturns: Return type: NXOpen.Features.ShipDesign.SectionViewBuilderSymmetricalStructureOptionsNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SymmetricalStructureParameters: 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
XPositionReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XPositionParameters: 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
YPositionReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
YPositionParameters: 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.SectionViewBuilderDirectionOptionsNew 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.