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
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 AngularTolerance

Returns:
Return type:float

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature 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

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() instead

License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)

CurveOffsetType

AOCSBuilder.CurveOffsetType

Returns or sets the curve offset type

-------------------------------------

Getter Method

Signature CurveOffsetType

Returns:
Return type:NXOpen.Features.AOCSBuilderCurveOffsetTypes

New in version NX11.0.1.

License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)

-------------------------------------

Setter Method

Signature CurveOffsetType

Parameters: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 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

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

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

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

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

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

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

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

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

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

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

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

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

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.

PointString

AOCSBuilder.PointString

Returns or sets the point string

-------------------------------------

Getter Method

Signature PointString

Returns:
Return type:NXOpen.Section

New in version NX11.0.1.

License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)

-------------------------------------

Setter Method

Signature PointString

Parameters: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 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

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

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

Parameters: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 ThroughPoint

Returns:
Return type:NXOpen.Point

New in version NX11.0.1.

License requirements: solid_modeling (“SOLIDS MODELING”) OR insp_programming (“INSPECTION PROGRAMMING”)

-------------------------------------

Setter Method

Signature ThroughPoint

Parameters: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 TrimMethod

Returns:
Return type:NXOpen.Features.AOCSBuilderTrim

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature 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

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:

NXOpen.Section

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 section

New 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 item

New 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 input
Returns: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.