CompositeCurveBuilder Class¶
-
class
NXOpen.Features.CompositeCurveBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Features.CompositeCurvebuilder.Inputs to this class can be convergent objects.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateCompositeCurveBuilder()Default values.
Property Value AllowSelfIntersection False Associative True CurveFitData.CurveJoinMethod No CurveFitData.Degree 7 CurveFitData.FitMethod DegreeAndSegments CurveFitData.IsAdvancedFit 0 CurveFitData.IsAlignShape 0 CurveFitData.MaximumDegree 7 CurveFitData.MaximumSegments 1 CurveFitData.MinimumDegree 5 CurveFitData.Segments 1 HideOriginal False InheritDisplayProperties False New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AllowSelfIntersection | Returns or sets the self intersection |
| Associative | Returns or sets the associative |
| CurveFitData | Returns the curve fit data |
| FixAtCurrentTimestamp | Returns or sets the fix at timestamp option |
| FrecAtTimeStamp | Returns or sets the frec at time stamp |
| HideOriginal | Returns or sets the hide original |
| InheritDisplayProperties | Returns or sets the inherit display properties from source option |
| JoinOption | Returns or sets the join option |
| MakePositionIndependent | Returns or sets the make position independent |
| ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
| ParentPart | Returns or sets the parent part |
| PatchSolutionFlag | Returns or sets the patch solution flag |
| PatchSurfaceFilename | Returns or sets the patch surface filename |
| ReverseDirection | Returns or sets the composite curve reverse direction |
| Section | Returns the section |
| SourcePartOccurrence | Returns or sets the source part occurrence |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| Tolerance | Returns or sets the tolerance |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitCreateOnTheFly | Commits the feature and set create on the fly flag |
| 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. |
| GetProductInterfaceObjects | Gets selected product interface objects |
| GetSourcePartOccurrences | Gets source part occurrences |
| GetWaveLinkInformation | Prints wave browser type information about link |
| 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 |
| SetProductInterfaceObjects | Sets selected product interface objects |
| SetSourcePartOccurrences | Sets source part occurrences |
| 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¶
| CompositeCurveBuilderJoinMethod Enumeration | the join method |
| CompositeCurveBuilderPartType Enumeration | Composite Curve part type. |
Property Detail¶
AllowSelfIntersection¶
-
CompositeCurveBuilder.AllowSelfIntersection¶ Returns or sets the self intersection
-------------------------------------Getter Method
Signature
AllowSelfIntersectionReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AllowSelfIntersectionParameters: allowSelfIntersection (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
Associative¶
-
CompositeCurveBuilder.Associative¶ Returns or sets the associative
-------------------------------------Getter Method
Signature
AssociativeReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssociativeParameters: associative (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
CurveFitData¶
-
CompositeCurveBuilder.CurveFitData¶ Returns the curve fit data
-------------------------------------Getter Method
Signature
CurveFitDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitDataNew in version NX11.0.0.
License requirements: None.
FixAtCurrentTimestamp¶
-
CompositeCurveBuilder.FixAtCurrentTimestamp¶ Returns or sets the fix at timestamp option
-------------------------------------Getter Method
Signature
FixAtCurrentTimestampReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FixAtCurrentTimestampParameters: timestamp (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
FrecAtTimeStamp¶
-
CompositeCurveBuilder.FrecAtTimeStamp¶ Returns or sets the frec at time stamp
-------------------------------------Getter Method
Signature
FrecAtTimeStampReturns: Return type: NXOpen.Features.FeatureNew in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
FrecAtTimeStampParameters: terminalFrec ( NXOpen.Features.Feature) –New in version NX6.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
HideOriginal¶
-
CompositeCurveBuilder.HideOriginal¶ Returns or sets the hide original
-------------------------------------Getter Method
Signature
HideOriginalReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HideOriginalParameters: hideOriginal (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
InheritDisplayProperties¶
-
CompositeCurveBuilder.InheritDisplayProperties¶ Returns or sets the inherit display properties from source option
-------------------------------------Getter Method
Signature
InheritDisplayPropertiesReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InheritDisplayPropertiesParameters: inheritDisplayProperties (bool) – New in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
JoinOption¶
-
CompositeCurveBuilder.JoinOption¶ Returns or sets the join option
-------------------------------------Getter Method
Signature
JoinOptionReturns: Return type: NXOpen.Features.CompositeCurveBuilderJoinMethodNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
JoinOptionParameters: joinOption ( NXOpen.Features.CompositeCurveBuilderJoinMethod) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
MakePositionIndependent¶
-
CompositeCurveBuilder.MakePositionIndependent¶ Returns or sets the make position independent
-------------------------------------Getter Method
Signature
MakePositionIndependentReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MakePositionIndependentParameters: makePositionIndependent (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
ParentPart¶
-
CompositeCurveBuilder.ParentPart¶ Returns or sets the parent part
-------------------------------------Getter Method
Signature
ParentPartReturns: Return type: NXOpen.Features.CompositeCurveBuilderPartTypeNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ParentPartParameters: parentPart ( NXOpen.Features.CompositeCurveBuilderPartType) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
ReverseDirection¶
-
CompositeCurveBuilder.ReverseDirection¶ Returns or sets the composite curve reverse direction
-------------------------------------Getter Method
Signature
ReverseDirectionReturns: Return type: bool New in version NX9.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
ReverseDirectionParameters: reverseDirection (bool) – New in version NX9.0.2.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
Section¶
-
CompositeCurveBuilder.Section¶ Returns the section
-------------------------------------Getter Method
Signature
SectionReturns: Return type: NXOpen.SectionNew in version NX5.0.0.
License requirements: None.
SourcePartOccurrence¶
-
CompositeCurveBuilder.SourcePartOccurrence¶ Returns or sets the source part occurrence
-------------------------------------Getter Method
Signature
SourcePartOccurrenceReturns: Return type: NXOpen.TaggedObjectNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SourcePartOccurrenceParameters: sourcePartOcc ( NXOpen.TaggedObject) –New in version NX9.0.0.
License requirements: None.
Tolerance¶
-
CompositeCurveBuilder.Tolerance¶ Returns or sets the tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: tolerance (float) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
Method Detail¶
CommitCreateOnTheFly¶
-
CompositeCurveBuilder.CommitCreateOnTheFly¶ Commits the feature and set create on the fly flag
Signature
CommitCreateOnTheFly()Returns: Return type: NXOpen.Features.FeatureNew in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)
GetProductInterfaceObjects¶
-
CompositeCurveBuilder.GetProductInterfaceObjects¶ Gets selected product interface objects
Signature
GetProductInterfaceObjects()Returns: items in list Return type: list of NXOpen.Assemblies.ProductInterface.InterfaceObjectNew in version NX9.0.0.
License requirements: None.
GetSourcePartOccurrences¶
-
CompositeCurveBuilder.GetSourcePartOccurrences¶ Gets source part occurrences
Signature
GetSourcePartOccurrences()Returns: Return type: list of NXOpen.TaggedObjectNew in version NX10.0.0.
License requirements: None.
GetWaveLinkInformation¶
-
CompositeCurveBuilder.GetWaveLinkInformation¶ Prints wave browser type information about link
Signature
GetWaveLinkInformation()Returns: a tuple Return type: A tuple consisting of (info, xformExists, xformOrigin, xformOrientation, xformScale). info is a str. queried wave information xformExists is a bool. true if there is a transform xformOrigin is a NXOpen.Point3d. transformation origin xformOrientation is aNXOpen.Matrix3x3. transformation matrix xformScale is a float. transformation scaleNew in version NX6.0.0.
License requirements: wave (“WAVE FUNCTIONALITY”)
SetProductInterfaceObjects¶
-
CompositeCurveBuilder.SetProductInterfaceObjects¶ Sets selected product interface objects
Signature
SetProductInterfaceObjects(selectedObjects)Parameters: selectedObjects (list of NXOpen.Assemblies.ProductInterface.InterfaceObject) – items in listNew in version NX9.0.0.
License requirements: None.
SetSourcePartOccurrences¶
-
CompositeCurveBuilder.SetSourcePartOccurrences¶ Sets source part occurrences
Signature
SetSourcePartOccurrences(sourcePartOccurrences)Parameters: sourcePartOccurrences (list of NXOpen.TaggedObject) –New in version NX10.0.0.
License requirements: None.
Validate¶
-
CompositeCurveBuilder.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.