Rebuild Class¶
-
class
NXOpen.GeometricUtilities.
Rebuild
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.GeometricUtilities.Rebuild
.The Rebuild block provides control over the method in which a surface is rebuilt (None, Manual, Advanced). Rebuild can be used for both uni-directional and bi-directional rebuild functions. Uni-directional functions require one instance of the rebuild block while bi-directional functions require two instances of the Rebuild block.
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Degree | Returns or sets the degree when rebuild type is none. |
DegreeType | Returns or sets the degree type when rebuild type is none. |
ManualDegree | Returns or sets the degree when rebuild type is manual. |
MaximumDegree | Returns or sets the maximum degree when rebuild type is advanced. |
MaximumSegments | Returns or sets the maximum segments when rebuild type is advanced. |
RebuildType | Returns or sets the rebuild type. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
RebuildDegreeTypes Enumeration | This enum represents the degree type when the Rebuild option menu is set to None. |
RebuildRebuildTypes Enumeration | This enum represents the Rebuild type. |
Property Detail¶
Degree¶
-
Rebuild.
Degree
¶ Returns or sets the degree when rebuild type is none.
In general, the degree is limited from 1 to 24. However,degree = 1 will only be used for Through Curve case to replace the current V-degree option, which can start from 1. Otherwise the minimum degree should be 2.
-------------------------------------
Getter Method
Signature
Degree()
Returns: Integer Degree Return type: int New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
Degree(degree)
Parameters: degree (int) – Integer Degree New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
DegreeType¶
-
Rebuild.
DegreeType
¶ Returns or sets the degree type when rebuild type is none.
-------------------------------------
Getter Method
Signature
DegreeType()
Returns: Degree Type Return type: NXOpen.GeometricUtilities.RebuildDegreeTypes
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
DegreeType(degreeType)
Parameters: degreeType ( NXOpen.GeometricUtilities.RebuildDegreeTypes
) – Degree TypeNew in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
ManualDegree¶
-
Rebuild.
ManualDegree
¶ Returns or sets the degree when rebuild type is manual.
The degree value is limited from 2 to 24.
-------------------------------------
Getter Method
Signature
ManualDegree()
Returns: Manual Degree Return type: int New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
ManualDegree(manualDegree)
Parameters: manualDegree (int) – Manual Degree New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
MaximumDegree¶
-
Rebuild.
MaximumDegree
¶ Returns or sets the maximum degree when rebuild type is advanced.
The maximum degree value is limited from 2 to 24.
-------------------------------------
Getter Method
Signature
MaximumDegree()
Returns: Maximum Degree Return type: int New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
MaximumDegree(maximumDegree)
Parameters: maximumDegree (int) – Maximum Degree New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
MaximumSegments¶
-
Rebuild.
MaximumSegments
¶ Returns or sets the maximum segments when rebuild type is advanced.
The maximum segments value is limited from 1 to 1000.
-------------------------------------
Getter Method
Signature
MaximumSegments()
Returns: Maximum Segments Return type: int New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
MaximumSegments(maximumSegments)
Parameters: maximumSegments (int) – Maximum Segments New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
RebuildType¶
-
Rebuild.
RebuildType
¶ Returns or sets the rebuild type.
-------------------------------------
Getter Method
Signature
RebuildType()
Returns: Rebuild Type Return type: NXOpen.GeometricUtilities.RebuildRebuildTypes
New in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
-------------------------------------
Setter Method
Signature
RebuildType(rebuildType)
Parameters: rebuildType ( NXOpen.GeometricUtilities.RebuildRebuildTypes
) – Rebuild TypeNew in version NX5.0.0.
License requirements: features_modeling (“FEATURES MODELING”), nx_freeform_1 (“basic freeform modeling”)
Method Detail¶
Validate¶
-
Rebuild.
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.