Rebuild Class¶
-
class
NXOpen.GeometricUtilities.Rebuild¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents 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
DegreeReturns: Integer Degree Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DegreeParameters: degree (int) – Integer Degree New in version NX5.0.0.
License requirements: None.
DegreeType¶
-
Rebuild.DegreeType¶ Returns or sets the degree type when rebuild type is none.
-------------------------------------Getter Method
Signature
DegreeTypeReturns: Degree Type Return type: NXOpen.GeometricUtilities.RebuildDegreeTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DegreeTypeParameters: degreeType ( NXOpen.GeometricUtilities.RebuildDegreeTypes) – Degree TypeNew in version NX5.0.0.
License requirements: None.
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
ManualDegreeReturns: Manual Degree Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ManualDegreeParameters: manualDegree (int) – Manual Degree New in version NX5.0.0.
License requirements: None.
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
MaximumDegreeReturns: Maximum Degree Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumDegreeParameters: maximumDegree (int) – Maximum Degree New in version NX5.0.0.
License requirements: None.
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
MaximumSegmentsReturns: Maximum Segments Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumSegmentsParameters: maximumSegments (int) – Maximum Segments New in version NX5.0.0.
License requirements: None.
RebuildType¶
-
Rebuild.RebuildType¶ Returns or sets the rebuild type.
-------------------------------------Getter Method
Signature
RebuildTypeReturns: Rebuild Type Return type: NXOpen.GeometricUtilities.RebuildRebuildTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RebuildTypeParameters: rebuildType ( NXOpen.GeometricUtilities.RebuildRebuildTypes) – Rebuild TypeNew in version NX5.0.0.
License requirements: None.
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.