CurveFitOptions Class¶
-
class
NXOpen.GeometricUtilities.
CurveFitOptions
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents the curve fit data
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
FitOption | Returns or sets the curve fit method |
MaximumDegree | Returns or sets the maximum degree method |
MaximumSegments | Returns or sets the maximum segments method |
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¶
CurveFitOptionsFitMethod Enumeration | Represents the curve fit method |
Property Detail¶
FitOption¶
-
CurveFitOptions.
FitOption
¶ Returns or sets the curve fit method
-------------------------------------
Getter Method
Signature
FitOption()
Returns: curve fit method Return type: NXOpen.GeometricUtilities.CurveFitOptionsFitMethod
New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
FitOption(curveFitMethod)
Parameters: curveFitMethod ( NXOpen.GeometricUtilities.CurveFitOptionsFitMethod
) – curve fit methodNew in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
MaximumDegree¶
-
CurveFitOptions.
MaximumDegree
¶ Returns or sets the maximum degree method
-------------------------------------
Getter Method
Signature
MaximumDegree()
Returns: maximum segments Return type: int New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
MaximumDegree(maximumDegree)
Parameters: maximumDegree (int) – maximum degree method New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
MaximumSegments¶
-
CurveFitOptions.
MaximumSegments
¶ Returns or sets the maximum segments method
-------------------------------------
Getter Method
Signature
MaximumSegments()
Returns: maximum segments Return type: int New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
MaximumSegments(maximumSegments)
Parameters: maximumSegments (int) – maximum segments New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”)
Method Detail¶
Validate¶
-
CurveFitOptions.
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.