AOCSBuilder Class¶
-
class
NXOpen.Features.
AOCSBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents 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 |
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 |
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. |
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 @return |
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. |
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 @return flag indicating if offset direction flipped |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
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
AngularTolerance()
Returns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngularTolerance(angularTolerance)
Parameters: 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
AssociativeOutputOption()
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AssociativeOutputOption(associative)
Parameters: 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
CurveFitData()
Returns: Return type: NXOpen.GeometricUtilities.CurveFitData
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CurveFitJoinData¶
-
AOCSBuilder.
CurveFitJoinData
¶ Returns the curve fit join method
-------------------------------------
Getter Method
Signature
CurveFitJoinData()
Returns: Return type: NXOpen.GeometricUtilities.CurveFitJoin
New 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”)
DirectionVector¶
-
AOCSBuilder.
DirectionVector
¶ Returns or sets the offset diection vector
-------------------------------------
Getter Method
Signature
DirectionVector()
Returns: Return type: NXOpen.Direction
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
DirectionVector(offsetDirection)
Parameters: 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
DistanceTolerance()
Returns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: 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
ExtendMethod()
Returns: Return type: NXOpen.Features.AOCSBuilderExtend
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExtendMethod(extendMethod)
Parameters: 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
ExtendToFaceOption()
Returns: Return type: NXOpen.Features.AOCSBuilderExtendToFace
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExtendToFaceOption(extendToFaceOption)
Parameters: 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
FaceCollector()
Returns: Return type: NXOpen.ScCollector
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FaceCollector(collector)
Parameters: 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
FilletDirectionVector()
Returns: Return type: NXOpen.Direction
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
FilletDirectionVector(tipDirection)
Parameters: 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
FilletOption()
Returns: Return type: NXOpen.Features.AOCSBuilderFilletOptions
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
FilletOption(options)
Parameters: 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
FilletRadius()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
FilletRadius(radius)
Parameters: 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
Law()
Returns: Return type: NXOpen.GeometricUtilities.LawBuilder
New 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
LawString()
Returns: Return type: NXOpen.Section
New in version NX7.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
LawString(lawString)
Parameters: 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
LawStringFlip()
Returns: Return type: bool New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
LawStringFlip(flip)
Parameters: 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
OffsetDirectionOption()
Returns: Return type: NXOpen.Features.AOCSBuilderOffsetDirection
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
OffsetDirectionOption(direction)
Parameters: 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
OffsetDistType()
Returns: Return type: NXOpen.Features.AOCSBuilderOffsetDistanceType
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
OffsetDistType(type)
Parameters: 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
OffsetMode()
Returns: Return type: NXOpen.Features.AOCSBuilderOffsetType
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OffsetMode(offsetMode)
Parameters: 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
Offsets()
Returns: Return type: NXOpen.ExpressionSectionSetList
New in version NX5.0.0.
License requirements: None.
ProjectPlaneNormal¶
-
AOCSBuilder.
ProjectPlaneNormal
¶ Returns or sets the project plane vector
-------------------------------------
Getter Method
Signature
ProjectPlaneNormal()
Returns: Return type: NXOpen.Direction
New in version NX7.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)
-------------------------------------
Setter Method
Signature
ProjectPlaneNormal(projectPlaneNormal)
Parameters: 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
RemoveSelfIntersections()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RemoveSelfIntersections(removeSelfIntersections)
Parameters: 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
SplitCurveOption()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SplitCurveOption(splitCurveOption)
Parameters: splitCurveOption (bool) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
TrimMethod¶
-
AOCSBuilder.
TrimMethod
¶ Returns or sets the trim method option for the AOCS operation.
-------------------------------------
Getter Method
Signature
TrimMethod()
Returns: Return type: NXOpen.Features.AOCSBuilderTrim
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimMethod(trimMethod)
Parameters: 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
TrimToFaceEdgesOption()
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimToFaceEdgesOption(trimToFaceEdges)
Parameters: 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”)
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.