PenetrationCutoutBuilder Class¶
-
class
NXOpen.Features.ShipDesign.PenetrationCutoutBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Features.ShipDesign.PenetrationRequestbuilderTo create a new instance of this class, use
NXOpen.Features.ShipDesign.PenetrationRequestCollection.CreatePenetrationCutoutBuilder()Default values.
Property Value CornerRadius.Value 0 CoutoutType Circular Diameter.Value 0 DirectionType PerpendiculartoStructure Height.Value 0 Offset.Value 0 Radius.Value 0 Width.Value 0 New in version NX8.0.0.
Properties¶
| Property | Description |
|---|---|
| CornerRadius | Returns the corner radius expression |
| CoutoutType | Returns or sets the coutout type |
| Diameter | Returns the diameter expression |
| DirectionType | Returns or sets the direction type |
| Height | Returns the height expression |
| HoleSubType | Returns or sets the hole sub-type |
| HoleType | Returns or sets the hole type |
| HorizontalDirection | Returns or sets the horizontal direction |
| ModifiedSketch | Returns or sets the modified sketch |
| Offset | Returns the offset expression |
| Orientation | Returns or sets the orientation |
| Radius | Returns the radius expression |
| Sketch | Returns the sketch |
| Tag | Returns the Tag for this object. |
| Width | Returns the width expression |
Methods¶
| Method | Description |
|---|---|
| AddNonIntersectedStructure | Adds nonintersected structures |
| 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. |
| RemoveNonIntersectedStructures | Removes all nonintersected structures |
| SetDialogType | Set the dialog type |
| 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. |
Property Detail¶
CornerRadius¶
-
PenetrationCutoutBuilder.CornerRadius¶ Returns the corner radius expression
-------------------------------------Getter Method
Signature
CornerRadiusReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
CoutoutType¶
-
PenetrationCutoutBuilder.CoutoutType¶ Returns or sets the coutout type
-------------------------------------Getter Method
Signature
CoutoutTypeReturns: Return type: NXOpen.Features.ShipDesign.PenetrationRequestCoutoutTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CoutoutTypeParameters: enumCoutoutType ( NXOpen.Features.ShipDesign.PenetrationRequestCoutoutType) –New in version NX8.0.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
Diameter¶
-
PenetrationCutoutBuilder.Diameter¶ Returns the diameter expression
-------------------------------------Getter Method
Signature
DiameterReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
DirectionType¶
-
PenetrationCutoutBuilder.DirectionType¶ Returns or sets the direction type
-------------------------------------Getter Method
Signature
DirectionTypeReturns: Return type: NXOpen.Features.ShipDesign.PenetrationRequestDirectionTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DirectionTypeParameters: enumDirection ( NXOpen.Features.ShipDesign.PenetrationRequestDirectionType) –New in version NX8.0.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
Height¶
-
PenetrationCutoutBuilder.Height¶ Returns the height expression
-------------------------------------Getter Method
Signature
HeightReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
HoleSubType¶
-
PenetrationCutoutBuilder.HoleSubType¶ Returns or sets the hole sub-type
-------------------------------------Getter Method
Signature
HoleSubTypeReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HoleSubTypeParameters: stringHoleType (str) – New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
HoleType¶
-
PenetrationCutoutBuilder.HoleType¶ Returns or sets the hole type
-------------------------------------Getter Method
Signature
HoleTypeReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HoleTypeParameters: stringHoleType (str) – New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
HorizontalDirection¶
-
PenetrationCutoutBuilder.HorizontalDirection¶ Returns or sets the horizontal direction
-------------------------------------Getter Method
Signature
HorizontalDirectionReturns: Return type: NXOpen.DirectionNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HorizontalDirectionParameters: vectorHorizontalDirection ( NXOpen.Direction) –New in version NX8.0.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
ModifiedSketch¶
-
PenetrationCutoutBuilder.ModifiedSketch¶ Returns or sets the modified sketch
-------------------------------------Getter Method
Signature
ModifiedSketchReturns: Return type: NXOpen.SketchNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ModifiedSketchParameters: modifiedSketch ( NXOpen.Sketch) –New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
Offset¶
-
PenetrationCutoutBuilder.Offset¶ Returns the offset expression
-------------------------------------Getter Method
Signature
OffsetReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
Orientation¶
-
PenetrationCutoutBuilder.Orientation¶ Returns or sets the orientation
-------------------------------------Getter Method
Signature
OrientationReturns: Return type: NXOpen.DirectionNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OrientationParameters: vectorOrientation ( NXOpen.Direction) –New in version NX8.0.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
Radius¶
-
PenetrationCutoutBuilder.Radius¶ Returns the radius expression
-------------------------------------Getter Method
Signature
RadiusReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
Sketch¶
-
PenetrationCutoutBuilder.Sketch¶ Returns the sketch
-------------------------------------Getter Method
Signature
SketchReturns: Return type: NXOpen.SectionNew in version NX8.0.0.
License requirements: None.
Width¶
-
PenetrationCutoutBuilder.Width¶ Returns the width expression
-------------------------------------Getter Method
Signature
WidthReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
Method Detail¶
AddNonIntersectedStructure¶
-
PenetrationCutoutBuilder.AddNonIntersectedStructure¶ Adds nonintersected structures
Signature
AddNonIntersectedStructure(structure)Parameters: structure ( NXOpen.Body) –New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
RemoveNonIntersectedStructures¶
-
PenetrationCutoutBuilder.RemoveNonIntersectedStructures¶ Removes all nonintersected structures
Signature
RemoveNonIntersectedStructures()New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
SetDialogType¶
-
PenetrationCutoutBuilder.SetDialogType¶ Set the dialog type
Signature
SetDialogType(dialogType)Parameters: dialogType ( NXOpen.Features.ShipDesign.PenetrationRequestBuilderRequestDialogType) –New in version NX8.5.0.
License requirements: nx_penetration_mgmt (“Penetration Management”)
Validate¶
-
PenetrationCutoutBuilder.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.