VentilationHoles2Builder Class

class NXOpen.Features.ShipDesign.VentilationHoles2Builder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.ShipDesign.VentilationHoles2 builder

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

Default values.

Property Value
AngularDimOffset.Value 0
EnumSpacing EvenDistribution
GuideOffset.Value 0 (millimeters part), 0 (inches part)
IntNumVents 0
ToggleSymmetricOffsets 0
VentSpacing.Value 0 (millimeters part), 0 (inches part)

New in version NX8.0.0.

Properties

Property Description
AngularDimOffset Returns the angular dim offset
EnumSpacing Returns or sets the enum spacing
GuideOffset Returns the guide offset
IntNumVents Returns or sets the int num vents
OnPathEndOffset Returns the on path end offset
OnPathStartOffset Returns the on path start offset
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
SectionGuide Returns the section guide
SelectEndTrim Returns the select end trim
SelectStartTrim Returns the select start trim
SelectTargetFace Returns the select target face
SketchBlock Returns the sketch block.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
ToggleSymmetricOffsets Returns or sets the toggle symmetric offsets
VentSpacing Returns the vent spacing

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
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
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

VentilationHoles2BuilderArraySpacing Enumeration available methods used to define the spacing between the holes

Property Detail

AngularDimOffset

VentilationHoles2Builder.AngularDimOffset

Returns the angular dim offset

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

Getter Method

Signature AngularDimOffset

Returns:
Return type:NXOpen.Expression

New in version NX8.0.0.

License requirements: None.

EnumSpacing

VentilationHoles2Builder.EnumSpacing

Returns or sets the enum spacing

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

Getter Method

Signature EnumSpacing

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

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature EnumSpacing

Parameters:enumSpacing (NXOpen.Features.ShipDesign.VentilationHoles2BuilderArraySpacing) –

New in version NX8.0.0.

License requirements: nx_ship_detail (“Ship Detail Design”)

GuideOffset

VentilationHoles2Builder.GuideOffset

Returns the guide offset

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

Getter Method

Signature GuideOffset

Returns:
Return type:NXOpen.Expression

New in version NX8.0.0.

License requirements: None.

IntNumVents

VentilationHoles2Builder.IntNumVents

Returns or sets the int num vents

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

Getter Method

Signature IntNumVents

Returns:
Return type:int

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature IntNumVents

Parameters:intNumVents (int) –

New in version NX8.0.0.

License requirements: nx_ship_detail (“Ship Detail Design”)

OnPathEndOffset

VentilationHoles2Builder.OnPathEndOffset

Returns the on path end offset

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

Getter Method

Signature OnPathEndOffset

Returns:
Return type:NXOpen.GeometricUtilities.OnPathDimensionBuilder

New in version NX8.0.0.

License requirements: None.

OnPathStartOffset

VentilationHoles2Builder.OnPathStartOffset

Returns the on path start offset

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

Getter Method

Signature OnPathStartOffset

Returns:
Return type:NXOpen.GeometricUtilities.OnPathDimensionBuilder

New in version NX8.0.0.

License requirements: None.

SectionGuide

VentilationHoles2Builder.SectionGuide

Returns the section guide

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

Getter Method

Signature SectionGuide

Returns:
Return type:NXOpen.Section

New in version NX8.0.0.

License requirements: None.

SelectEndTrim

VentilationHoles2Builder.SelectEndTrim

Returns the select end trim

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

Getter Method

Signature SelectEndTrim

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX8.0.0.

License requirements: None.

SelectStartTrim

VentilationHoles2Builder.SelectStartTrim

Returns the select start trim

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

Getter Method

Signature SelectStartTrim

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX8.0.0.

License requirements: None.

SelectTargetFace

VentilationHoles2Builder.SelectTargetFace

Returns the select target face

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

Getter Method

Signature SelectTargetFace

Returns:
Return type:NXOpen.SelectTaggedObjectList

New in version NX8.0.0.

License requirements: None.

SketchBlock

VentilationHoles2Builder.SketchBlock

Returns the sketch block.

Users can specify the hole shape using a single sketch. The sketch type and its parameters are controlled by the NXOpen.Features.ShipDesign.SteelFeatureSpreadsheetBuilder.

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

Getter Method

Signature SketchBlock

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

New in version NX8.0.0.

License requirements: None.

ToggleSymmetricOffsets

VentilationHoles2Builder.ToggleSymmetricOffsets

Returns or sets the toggle symmetric offsets

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

Getter Method

Signature ToggleSymmetricOffsets

Returns:
Return type:bool

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature ToggleSymmetricOffsets

Parameters:toggleSymmetricOffsets (bool) –

New in version NX8.0.0.

License requirements: nx_ship_detail (“Ship Detail Design”)

VentSpacing

VentilationHoles2Builder.VentSpacing

Returns the vent spacing

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

Getter Method

Signature VentSpacing

Returns:
Return type:NXOpen.Expression

New in version NX8.0.0.

License requirements: None.

Method Detail

Validate

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