AOCSBuilder Class¶
-
class
NXOpen.Features.AOCSBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a Offset In Face(aka Associative offset curve on face)feature builder.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateAocsBuilder()Default values.
Property Value 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 CurveFitJoinData.CurveFitOptions.FitOption (deprecated) Cubic CurveFitJoinData.CurveFitOptions.MaximumDegree (deprecated) 7 CurveFitJoinData.CurveFitOptions.MaximumSegments (deprecated) 1 Law.Function ft Law.LawType Constant Law.Parameter t New in version NX4.0.0.
Properties¶
| Property | Description |
|---|---|
| AngularTolerance | Returns or sets the angular tolerance for the AOCS operation. |
| AssociativeOutputOption | Returns or sets the associative output option for the AOCS operation. |
| CurveFitData | Returns the curve fit settings |
| CurveFitJoinData | Returns the curve fit join method |
| CurveOffsetType | Returns or sets the curve offset type |
| DirectionVector | Returns or sets the offset diection vector |
| DistanceTolerance | Returns or sets the distance tolerance for the AOCS operation. |
| ExtendMethod | Returns or sets the extend method option for the AOCS operation. |
| ExtendToFaceOption | Returns or sets the span option for the AOCS operation. |
| FaceCollector | Returns or sets the face collector. |
| FilletDirectionVector | Returns or sets the fillet vector |
| FilletOption | Returns or sets the fillet option |
| FilletRadius | Returns or sets the fillet radius |
| Law | Returns the law. |
| LawString | Returns or sets the law string |
| LawStringFlip | Returns or sets the law string flip flag |
| OffsetDirectionOption | Returns or sets the offset direction vector |
| OffsetDistType | Returns or sets the offset distance type |
| OffsetMode | Returns or sets the offset mode for the AOCS operation. |
| Offsets | Returns the list of offsets. |
| 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 |
| PointString | Returns or sets the point string |
| ProjectPlaneNormal | Returns or sets the project plane vector |
| RemoveSelfIntersections | Returns or sets the remove self intersections flag . |
| SplitCurveOption | Returns or sets the split curve at face boundary option . |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| ThroughPoint | Returns or sets the through point |
| TrimMethod | Returns or sets the trim method option for the AOCS operation. |
| TrimToFaceEdgesOption | Returns or sets the cross boundary option for the AOCS operation. |
Methods¶
| Method | Description |
|---|---|
| CloneSection | Clone section. |
| Commit | Commits any edits that have been applied to the builder. |
| CommitFeature | Commits the feature parameters and creates the feature |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| FlipAllOffsetsOfSection | Reverse the direction of all offsets of the section. |
| FlipOffset | Reverse the offset direction. |
| 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. |
| SynchronizeSectionForValueOrPoint | Update the section data of Value or Through-Point type. |
| SynchronizeSections | Synchronize the second section data consistent to the first one |
| UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
| UpdateCurvesStatus | Update result curve status. |
| UpdateFaces | Update face. |
| UpdatePostStatusFlag | Update the post-process status flag. |
| UpdateSectionData | Update section data for offset |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| AOCSBuilderCurveOffsetTypes Enumeration | AOCS builder curve offset type enum |
| AOCSBuilderExtend Enumeration | AOCS builder extend to each other within section type enum. |
| AOCSBuilderExtendToFace Enumeration | AOCS builder extend to face edges type enum. |
| AOCSBuilderFilletOptions Enumeration | AOCS builder fillet options type enum. |
| AOCSBuilderOffsetDirection Enumeration | AOCS builder offset direction type enum. |
| AOCSBuilderOffsetDistanceType Enumeration | AOCS builder offset distance type enum. |
| AOCSBuilderOffsetType Enumeration | AOCS builder offset type enum. |
| AOCSBuilderTrim Enumeration | AOCS builder trim to each other within section type enum. |
Property Detail¶
AngularTolerance¶
-
AOCSBuilder.AngularTolerance¶ Returns or sets the angular tolerance for the AOCS operation.
-------------------------------------Getter Method
Signature
AngularToleranceReturns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngularToleranceParameters: angularTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
AssociativeOutputOption¶
-
AOCSBuilder.AssociativeOutputOption¶ Returns or sets the associative output option for the AOCS operation.
-------------------------------------Getter Method
Signature
AssociativeOutputOptionReturns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssociativeOutputOptionParameters: associative (bool) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
CurveFitData¶
-
AOCSBuilder.CurveFitData¶ Returns the curve fit settings
-------------------------------------Getter Method
Signature
CurveFitDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitDataNew in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CurveFitJoinData¶
-
AOCSBuilder.CurveFitJoinData¶ Returns the curve fit join method
-------------------------------------Getter Method
Signature
CurveFitJoinDataReturns: Return type: NXOpen.GeometricUtilities.CurveFitJoinNew in version NX7.5.0.
Deprecated since version NX10.0.0: Use
Features.AOCSBuilder.CurveFitData()insteadLicense requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
CurveOffsetType¶
-
AOCSBuilder.CurveOffsetType¶ Returns or sets the curve offset type
-------------------------------------Getter Method
Signature
CurveOffsetTypeReturns: Return type: NXOpen.Features.AOCSBuilderCurveOffsetTypesNew in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
CurveOffsetTypeParameters: type ( NXOpen.Features.AOCSBuilderCurveOffsetTypes) –New in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
DirectionVector¶
-
AOCSBuilder.DirectionVector¶ Returns or sets the offset diection vector
-------------------------------------Getter Method
Signature
DirectionVectorReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
DirectionVectorParameters: offsetDirection ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
DistanceTolerance¶
-
AOCSBuilder.DistanceTolerance¶ Returns or sets the distance tolerance for the AOCS operation.
-------------------------------------Getter Method
Signature
DistanceToleranceReturns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceToleranceParameters: distanceTolerance (float) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
ExtendMethod¶
-
AOCSBuilder.ExtendMethod¶ Returns or sets the extend method option for the AOCS operation.
-------------------------------------Getter Method
Signature
ExtendMethodReturns: Return type: NXOpen.Features.AOCSBuilderExtendNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtendMethodParameters: extendMethod ( NXOpen.Features.AOCSBuilderExtend) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
ExtendToFaceOption¶
-
AOCSBuilder.ExtendToFaceOption¶ Returns or sets the span option for the AOCS operation.
-------------------------------------Getter Method
Signature
ExtendToFaceOptionReturns: Return type: NXOpen.Features.AOCSBuilderExtendToFaceNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtendToFaceOptionParameters: extendToFaceOption ( NXOpen.Features.AOCSBuilderExtendToFace) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FaceCollector¶
-
AOCSBuilder.FaceCollector¶ Returns or sets the face collector.
-------------------------------------Getter Method
Signature
FaceCollectorReturns: Return type: NXOpen.ScCollectorNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FaceCollectorParameters: collector ( NXOpen.ScCollector) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FilletDirectionVector¶
-
AOCSBuilder.FilletDirectionVector¶ Returns or sets the fillet vector
-------------------------------------Getter Method
Signature
FilletDirectionVectorReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
FilletDirectionVectorParameters: tipDirection ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FilletOption¶
-
AOCSBuilder.FilletOption¶ Returns or sets the fillet option
-------------------------------------Getter Method
Signature
FilletOptionReturns: Return type: NXOpen.Features.AOCSBuilderFilletOptionsNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
FilletOptionParameters: options ( NXOpen.Features.AOCSBuilderFilletOptions) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FilletRadius¶
-
AOCSBuilder.FilletRadius¶ Returns or sets the fillet radius
-------------------------------------Getter Method
Signature
FilletRadiusReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
FilletRadiusParameters: radius ( NXOpen.Expression) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
Law¶
-
AOCSBuilder.Law¶ Returns the law.
-------------------------------------Getter Method
Signature
LawReturns: Return type: NXOpen.GeometricUtilities.LawBuilderNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
LawString¶
-
AOCSBuilder.LawString¶ Returns or sets the law string
-------------------------------------Getter Method
Signature
LawStringReturns: Return type: NXOpen.SectionNew in version NX7.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
LawStringParameters: lawString ( NXOpen.Section) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
LawStringFlip¶
-
AOCSBuilder.LawStringFlip¶ Returns or sets the law string flip flag
-------------------------------------Getter Method
Signature
LawStringFlipReturns: Return type: bool New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
LawStringFlipParameters: flip (bool) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
OffsetDirectionOption¶
-
AOCSBuilder.OffsetDirectionOption¶ Returns or sets the offset direction vector
-------------------------------------Getter Method
Signature
OffsetDirectionOptionReturns: Return type: NXOpen.Features.AOCSBuilderOffsetDirectionNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
OffsetDirectionOptionParameters: direction ( NXOpen.Features.AOCSBuilderOffsetDirection) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
OffsetDistType¶
-
AOCSBuilder.OffsetDistType¶ Returns or sets the offset distance type
-------------------------------------Getter Method
Signature
OffsetDistTypeReturns: Return type: NXOpen.Features.AOCSBuilderOffsetDistanceTypeNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
OffsetDistTypeParameters: type ( NXOpen.Features.AOCSBuilderOffsetDistanceType) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
OffsetMode¶
-
AOCSBuilder.OffsetMode¶ Returns or sets the offset mode for the AOCS operation.
-------------------------------------Getter Method
Signature
OffsetModeReturns: Return type: NXOpen.Features.AOCSBuilderOffsetTypeNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OffsetModeParameters: offsetMode ( NXOpen.Features.AOCSBuilderOffsetType) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
Offsets¶
-
AOCSBuilder.Offsets¶ Returns the list of offsets.
-------------------------------------Getter Method
Signature
OffsetsReturns: Return type: NXOpen.ExpressionSectionSetListNew in version NX5.0.0.
License requirements: None.
PointString¶
-
AOCSBuilder.PointString¶ Returns or sets the point string
-------------------------------------Getter Method
Signature
PointStringReturns: Return type: NXOpen.SectionNew in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
PointStringParameters: pointString ( NXOpen.Section) –New in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
ProjectPlaneNormal¶
-
AOCSBuilder.ProjectPlaneNormal¶ Returns or sets the project plane vector
-------------------------------------Getter Method
Signature
ProjectPlaneNormalReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
ProjectPlaneNormalParameters: projectPlaneNormal ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
RemoveSelfIntersections¶
-
AOCSBuilder.RemoveSelfIntersections¶ Returns or sets the remove self intersections flag .
-------------------------------------Getter Method
Signature
RemoveSelfIntersectionsReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RemoveSelfIntersectionsParameters: removeSelfIntersections (bool) – New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
SplitCurveOption¶
-
AOCSBuilder.SplitCurveOption¶ Returns or sets the split curve at face boundary option .
-------------------------------------Getter Method
Signature
SplitCurveOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SplitCurveOptionParameters: splitCurveOption (bool) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ThroughPoint¶
-
AOCSBuilder.ThroughPoint¶ Returns or sets the through point
-------------------------------------Getter Method
Signature
ThroughPointReturns: Return type: NXOpen.PointNew in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------Setter Method
Signature
ThroughPointParameters: throughPoint ( NXOpen.Point) –New in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
TrimMethod¶
-
AOCSBuilder.TrimMethod¶ Returns or sets the trim method option for the AOCS operation.
-------------------------------------Getter Method
Signature
TrimMethodReturns: Return type: NXOpen.Features.AOCSBuilderTrimNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TrimMethodParameters: trimMethod ( NXOpen.Features.AOCSBuilderTrim) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
TrimToFaceEdgesOption¶
-
AOCSBuilder.TrimToFaceEdgesOption¶ Returns or sets the cross boundary option for the AOCS operation.
-------------------------------------Getter Method
Signature
TrimToFaceEdgesOptionReturns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TrimToFaceEdgesOptionParameters: trimToFaceEdges (bool) – New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
Method Detail¶
CloneSection¶
-
AOCSBuilder.CloneSection¶ Clone section.
Signature
CloneSection(constToVariable, sectionFrom)Parameters: - constToVariable (bool) – whether the type change is from constant to variable
- sectionFrom (
NXOpen.Section) – section to be cloned
Returns: Return type: New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FlipAllOffsetsOfSection¶
-
AOCSBuilder.FlipAllOffsetsOfSection¶ Reverse the direction of all offsets of the section.
Signature
FlipAllOffsetsOfSection(section)Parameters: section ( NXOpen.Section) – input sectionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
FlipOffset¶
-
AOCSBuilder.FlipOffset¶ Reverse the offset direction.
Signature
FlipOffset(seldimitem)Parameters: seldimitem ( NXOpen.NXObject) – input list itemNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
SynchronizeSectionForValueOrPoint¶
-
AOCSBuilder.SynchronizeSectionForValueOrPoint¶ Update the section data of Value or Through-Point type.
Call this method when it is really needed to copy section between value and point.
Signature
SynchronizeSectionForValueOrPoint(pointType)Parameters: pointType (bool) – value or point type New in version NX11.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
SynchronizeSections¶
-
AOCSBuilder.SynchronizeSections¶ Synchronize the second section data consistent to the first one
Signature
SynchronizeSections(constToVariable, firstSection, secondSection)Parameters: - constToVariable (bool) – whether the type change is from constant to variable
- firstSection (
NXOpen.Section) – section as input - secondSection (
NXOpen.Section) – section to be st=ynchronized
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
UpdateCurvesStatus¶
-
AOCSBuilder.UpdateCurvesStatus¶ Update result curve status.
Signature
UpdateCurvesStatus(updateLawParm)Parameters: updateLawParm (bool) – whether to update law parm New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
UpdateFaces¶
-
AOCSBuilder.UpdateFaces¶ Update face.
Signature
UpdateFaces()New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
UpdatePostStatusFlag¶
-
AOCSBuilder.UpdatePostStatusFlag¶ Update the post-process status flag.
Signature
UpdatePostStatusFlag(postStatusChanged)Parameters: postStatusChanged (bool) – whether the post status changed New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
UpdateSectionData¶
-
AOCSBuilder.UpdateSectionData¶ Update section data for offset
Signature
UpdateSectionData(section)Parameters: section ( NXOpen.Section) – section as inputReturns: flag indicating if offset direction flipped Return type: bool New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
Validate¶
-
AOCSBuilder.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.