RibBuilder Class¶
-
class
NXOpen.Features.
RibBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
Features.Rib
builderTo create a new instance of this class, use
NXOpen.Features.DesignFeatureCollection.CreateRibBuilder
Default values.
Property Value CombineRibWithTarget 1 DraftAngle.Value 1 RibCapGeometryOption FromSection RibCapOffset.Value 0 (millimeters part), 0 (inches part) RibDraftOption None RibThickness.Value 2 (millimeters part), 0.1 (inches part) RibThicknessOffsetOption Symmetric RibType PerpendiculartoSectionPlane New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
CappingFaces | Returns the capping datum or faces |
CombineRibWithTarget | Returns or sets the combine rib with target flag |
DraftAngle | Returns the draft angle |
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 |
ReverseOffsetDirection | Returns or sets the reverse offset direction flag. |
ReverseRibDirection | Returns or sets the reverse rib direction flag. |
ReverseThicknessDirection | Returns or sets the reverse thickness direction flag. |
RibCapGeometryOption | Returns or sets the rib cap geometry |
RibCapOffset | Returns the rib cap offset |
RibDraftOption | Returns or sets the rib draft options |
RibThickness | Returns the rib thickness |
RibThicknessOffsetOption | Returns or sets the rib walls offset type |
RibType | Returns or sets the rib type |
Section | Returns the input section |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
TargetBody | Returns the target body |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature @return |
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¶
RibBuilderRibCapGeometryOptions Enumeration | These represent the options for the Rib cap |
RibBuilderRibDraftOptions Enumeration | These represent the options for drafting the Rib |
RibBuilderRibThicknessOffsetOptions Enumeration | These represent the options for Rib Walls Offset |
RibBuilderRibTypes Enumeration | These represent the options for Rib type |
Property Detail¶
CappingFaces¶
-
RibBuilder.
CappingFaces
¶ Returns the capping datum or faces
-------------------------------------
Getter Method
Signature
CappingFaces()
Returns: Return type: NXOpen.ScCollector
New in version NX9.0.0.
License requirements: None.
CombineRibWithTarget¶
-
RibBuilder.
CombineRibWithTarget
¶ Returns or sets the combine rib with target flag
-------------------------------------
Getter Method
Signature
CombineRibWithTarget()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CombineRibWithTarget(combineRibWithTarget)
Parameters: combineRibWithTarget (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
DraftAngle¶
-
RibBuilder.
DraftAngle
¶ Returns the draft angle
-------------------------------------
Getter Method
Signature
DraftAngle()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
ReverseOffsetDirection¶
-
RibBuilder.
ReverseOffsetDirection
¶ Returns or sets the reverse offset direction flag.
Indicates whether the Rib Cap Offset direction has been flipped from its initial inferred direction
-------------------------------------
Getter Method
Signature
ReverseOffsetDirection()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReverseOffsetDirection(reverseOffsetDirection)
Parameters: reverseOffsetDirection (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ReverseRibDirection¶
-
RibBuilder.
ReverseRibDirection
¶ Returns or sets the reverse rib direction flag.
Indicates whether the Rib direction has been flipped from its initial inferred direction
-------------------------------------
Getter Method
Signature
ReverseRibDirection()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReverseRibDirection(reverseRibDirection)
Parameters: reverseRibDirection (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ReverseThicknessDirection¶
-
RibBuilder.
ReverseThicknessDirection
¶ Returns or sets the reverse thickness direction flag.
Indicates whether the Thickness direction has been flipped from its initial inferred direction
-------------------------------------
Getter Method
Signature
ReverseThicknessDirection()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReverseThicknessDirection(reverseThicknessDirection)
Parameters: reverseThicknessDirection (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
RibCapGeometryOption¶
-
RibBuilder.
RibCapGeometryOption
¶ Returns or sets the rib cap geometry
-------------------------------------
Getter Method
Signature
RibCapGeometryOption()
Returns: Return type: NXOpen.Features.RibBuilderRibCapGeometryOptions
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RibCapGeometryOption(ribCapGeometryOption)
Parameters: ribCapGeometryOption ( NXOpen.Features.RibBuilderRibCapGeometryOptions
) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
RibCapOffset¶
-
RibBuilder.
RibCapOffset
¶ Returns the rib cap offset
-------------------------------------
Getter Method
Signature
RibCapOffset()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
RibDraftOption¶
-
RibBuilder.
RibDraftOption
¶ Returns or sets the rib draft options
-------------------------------------
Getter Method
Signature
RibDraftOption()
Returns: Return type: NXOpen.Features.RibBuilderRibDraftOptions
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RibDraftOption(ribDraftOption)
Parameters: ribDraftOption ( NXOpen.Features.RibBuilderRibDraftOptions
) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
RibThickness¶
-
RibBuilder.
RibThickness
¶ Returns the rib thickness
-------------------------------------
Getter Method
Signature
RibThickness()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
RibThicknessOffsetOption¶
-
RibBuilder.
RibThicknessOffsetOption
¶ Returns or sets the rib walls offset type
-------------------------------------
Getter Method
Signature
RibThicknessOffsetOption()
Returns: Return type: NXOpen.Features.RibBuilderRibThicknessOffsetOptions
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RibThicknessOffsetOption(ribThicknessOffsetOption)
Parameters: ribThicknessOffsetOption ( NXOpen.Features.RibBuilderRibThicknessOffsetOptions
) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
RibType¶
-
RibBuilder.
RibType
¶ Returns or sets the rib type
-------------------------------------
Getter Method
Signature
RibType()
Returns: Return type: NXOpen.Features.RibBuilderRibTypes
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RibType(ribType)
Parameters: ribType ( NXOpen.Features.RibBuilderRibTypes
) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Section¶
-
RibBuilder.
Section
¶ Returns the input section
-------------------------------------
Getter Method
Signature
Section()
Returns: Return type: NXOpen.Section
New in version NX9.0.0.
License requirements: None.
TargetBody¶
-
RibBuilder.
TargetBody
¶ Returns the target body
-------------------------------------
Getter Method
Signature
TargetBody()
Returns: Return type: NXOpen.ScCollector
New in version NX9.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
RibBuilder.
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.