GuidedExtensionBuilderEx Class¶
-
class
NXOpen.Features.
GuidedExtensionBuilderEx
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Features.GuidedExtensionEx
builderTo create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateGuidedExtensionBuilderEx()
Default values.
Property Value AngleTolerance 0.5 CheckSurfaces 0 DistanceTolerance 0.01 ExtendLength.Value 10 (millimeters part), 10 (inches part) GuideLineAngle1.Value 0 GuideLineAngle2.Value 0 PlanarSurfacePreferred 1 New in version NX10.0.0.
Properties¶
Property | Description |
---|---|
AngleTolerance | Returns or sets the angle tolerance for use in creating the guided extension surfaces |
CheckSurfaces | Returns or sets the option for checking the resulting guided extension surfaces for geometry issues |
DistanceTolerance | Returns or sets the distance tolerance for use in creating the guided extension surfaces |
ExtendLength | Returns the extend length for use in creating the guided extension surfaces |
GuideLineAngle1 | Returns the rotation angle for the first guide line at one of the end points of the selected segment |
GuideLineAngle2 | Returns the rotation angle for the second guide line at one of the end points of the selected segment |
LastSelectedLoopIndex | Returns or sets the loop index for the last selected loop which contains the last selected edge. |
PlanarSurfacePreferred | Returns or sets the option to create planar surface when possible |
ReferenceVector | Returns or sets the reference vector which is active when the type is vector |
SegmentEdges | Returns the list of segment edges that represent a segment |
SheetEdges | Returns the sheet edges of a sheet body |
Tag | Returns the Tag for this object. |
Type | Returns or sets the option type to create guided extension surface |
VectorOrigin | Returns or sets the origin of the reference vector |
Methods¶
Method | Description |
---|---|
ChangeFacesSideOption | Changes the option for the side of faces |
ChangeGuideLineDirectionAndLength | Changes the direction and length of a guide line. |
Commit | Commits any edits that have been applied to the builder. |
CreateGuideLine | Creates a guide line at one of the end points of the sheet edge in the selection. |
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. |
GetObject | Returns the object currently being edited by this builder. |
MergeSegment | Merges the selected segment with its neighboring segments. |
ResetAllSegments | The action that resets all the segments in the loop to their original state |
RestoreSegments | Unmerges the selected segment restoring the original segments before the merge using NXOpen.Features.GuidedExtensionBuilderEx.MergeSegment() . |
SetReverseExtendDirection | Reverses surface extend direction |
SetSelectedSegmentType | Sets the segment type for the selected segment. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
SplitSegment | Splits the selected segment into multiple segments by placing guide lines at end points of the edges for the selected segment. |
UpdateAllGuideLinesLength | Updates the length of all the guide lines whenever the user changes the extend length of the surfaces interactively. |
UpdateExtendDirectionsAndGuideLines | Updates the extend direction of curves and guide lines whenever the type of guided extension or the draw direction changes. |
UpdateSheetEdges | Updates the information for the sheet edges of the selected section whenever sheet edges are selected or de-selected. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
GuidedExtensionBuilderExSegmentType Enumeration | Segment type for segments |
GuidedExtensionBuilderExTypes Enumeration | Option types to create guided extension surface |
Property Detail¶
AngleTolerance¶
-
GuidedExtensionBuilderEx.
AngleTolerance
¶ Returns or sets the angle tolerance for use in creating the guided extension surfaces
-------------------------------------
Getter Method
Signature
AngleTolerance()
Returns: Return type: float New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
AngleTolerance(angleTolerance)
Parameters: angleTolerance (float) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
CheckSurfaces¶
-
GuidedExtensionBuilderEx.
CheckSurfaces
¶ Returns or sets the option for checking the resulting guided extension surfaces for geometry issues
-------------------------------------
Getter Method
Signature
CheckSurfaces()
Returns: Return type: bool New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
CheckSurfaces(checkSurfaces)
Parameters: checkSurfaces (bool) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
DistanceTolerance¶
-
GuidedExtensionBuilderEx.
DistanceTolerance
¶ Returns or sets the distance tolerance for use in creating the guided extension surfaces
-------------------------------------
Getter Method
Signature
DistanceTolerance()
Returns: Return type: float New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: distanceTolerance (float) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ExtendLength¶
-
GuidedExtensionBuilderEx.
ExtendLength
¶ Returns the extend length for use in creating the guided extension surfaces
-------------------------------------
Getter Method
Signature
ExtendLength()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
GuideLineAngle1¶
-
GuidedExtensionBuilderEx.
GuideLineAngle1
¶ Returns the rotation angle for the first guide line at one of the end points of the selected segment
-------------------------------------
Getter Method
Signature
GuideLineAngle1()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
GuideLineAngle2¶
-
GuidedExtensionBuilderEx.
GuideLineAngle2
¶ Returns the rotation angle for the second guide line at one of the end points of the selected segment
-------------------------------------
Getter Method
Signature
GuideLineAngle2()
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
LastSelectedLoopIndex¶
-
GuidedExtensionBuilderEx.
LastSelectedLoopIndex
¶ Returns or sets the loop index for the last selected loop which contains the last selected edge.
-------------------------------------
Getter Method
Signature
LastSelectedLoopIndex()
Returns: Return type: int New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
LastSelectedLoopIndex(lastSelectedLoopIndex)
Parameters: lastSelectedLoopIndex (int) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
PlanarSurfacePreferred¶
-
GuidedExtensionBuilderEx.
PlanarSurfacePreferred
¶ Returns or sets the option to create planar surface when possible
-------------------------------------
Getter Method
Signature
PlanarSurfacePreferred()
Returns: Return type: bool New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
PlanarSurfacePreferred(planarSurfacePreferred)
Parameters: planarSurfacePreferred (bool) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ReferenceVector¶
-
GuidedExtensionBuilderEx.
ReferenceVector
¶ Returns or sets the reference vector which is active when the type is vector
-------------------------------------
Getter Method
Signature
ReferenceVector()
Returns: Return type: NXOpen.Direction
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
ReferenceVector(referenceVector)
Parameters: referenceVector ( NXOpen.Direction
) –New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SegmentEdges¶
-
GuidedExtensionBuilderEx.
SegmentEdges
¶ Returns the list of segment edges that represent a segment
-------------------------------------
Getter Method
Signature
SegmentEdges()
Returns: Return type: NXOpen.ScCollector
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SheetEdges¶
-
GuidedExtensionBuilderEx.
SheetEdges
¶ Returns the sheet edges of a sheet body
-------------------------------------
Getter Method
Signature
SheetEdges()
Returns: Return type: NXOpen.Section
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Type¶
-
GuidedExtensionBuilderEx.
Type
¶ Returns or sets the option type to create guided extension surface
-------------------------------------
Getter Method
Signature
Type()
Returns: Return type: NXOpen.Features.GuidedExtensionBuilderExTypes
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
Type(type)
Parameters: type ( NXOpen.Features.GuidedExtensionBuilderExTypes
) –New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
VectorOrigin¶
-
GuidedExtensionBuilderEx.
VectorOrigin
¶ Returns or sets the origin of the reference vector
-------------------------------------
Getter Method
Signature
VectorOrigin()
Returns: Return type: NXOpen.Point
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
-------------------------------------
Setter Method
Signature
VectorOrigin(vectorOrigin)
Parameters: vectorOrigin ( NXOpen.Point
) –New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Method Detail¶
ChangeFacesSideOption¶
-
GuidedExtensionBuilderEx.
ChangeFacesSideOption
¶ Changes the option for the side of faces
Signature
ChangeFacesSideOption(flipFacesSideOption)
Parameters: flipFacesSideOption (bool) – Change the side of faces option New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ChangeGuideLineDirectionAndLength¶
-
GuidedExtensionBuilderEx.
ChangeGuideLineDirectionAndLength
¶ Changes the direction and length of a guide line.
Signature
ChangeGuideLineDirectionAndLength(guideLine, guideLineVector, guideLineLength)
Parameters: - guideLine (
NXOpen.Curve
) – Guide line to be changed - guideLineVector (
NXOpen.Vector3d
) – Direction vector - guideLineLength (float) – Length of guide line
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
- guideLine (
CreateGuideLine¶
-
GuidedExtensionBuilderEx.
CreateGuideLine
¶ Creates a guide line at one of the end points of the sheet edge in the selection.
Signature
CreateGuideLine(assocEdge, guideLinePnt, guideLineVector, guideLineLength)
Parameters: - assocEdge (
NXOpen.Edge
) – Associated curve of the guide line to be created - guideLinePnt (
NXOpen.Point3d
) – Guide line point - guideLineVector (
NXOpen.Vector3d
) – Guide line vector - guideLineLength (float) – Guide line length
Returns: Guide line created
Return type: New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
- assocEdge (
MergeSegment¶
-
GuidedExtensionBuilderEx.
MergeSegment
¶ Merges the selected segment with its neighboring segments.
Signature
MergeSegment()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ResetAllSegments¶
-
GuidedExtensionBuilderEx.
ResetAllSegments
¶ The action that resets all the segments in the loop to their original state
Signature
ResetAllSegments()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RestoreSegments¶
-
GuidedExtensionBuilderEx.
RestoreSegments
¶ Unmerges the selected segment restoring the original segments before the merge using
NXOpen.Features.GuidedExtensionBuilderEx.MergeSegment()
.Signature
RestoreSegments()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SetReverseExtendDirection¶
-
GuidedExtensionBuilderEx.
SetReverseExtendDirection
¶ Reverses surface extend direction
Signature
SetReverseExtendDirection(reverseExtendDirection)
Parameters: reverseExtendDirection (bool) – Reverse surface extend direction New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SetSelectedSegmentType¶
-
GuidedExtensionBuilderEx.
SetSelectedSegmentType
¶ Sets the segment type for the selected segment.
Signature
SetSelectedSegmentType(segmentType)
Parameters: segmentType ( NXOpen.Features.GuidedExtensionBuilderExSegmentType
) – Segment type for the selected segmentNew in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
SplitSegment¶
-
GuidedExtensionBuilderEx.
SplitSegment
¶ Splits the selected segment into multiple segments by placing guide lines at end points of the edges for the selected segment.
Signature
SplitSegment()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
UpdateAllGuideLinesLength¶
-
GuidedExtensionBuilderEx.
UpdateAllGuideLinesLength
¶ Updates the length of all the guide lines whenever the user changes the extend length of the surfaces interactively.
Signature
UpdateAllGuideLinesLength()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
UpdateExtendDirectionsAndGuideLines¶
-
GuidedExtensionBuilderEx.
UpdateExtendDirectionsAndGuideLines
¶ Updates the extend direction of curves and guide lines whenever the type of guided extension or the draw direction changes.
Signature
UpdateExtendDirectionsAndGuideLines(typeChanged)
Parameters: typeChanged (bool) – New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
UpdateSheetEdges¶
-
GuidedExtensionBuilderEx.
UpdateSheetEdges
¶ Updates the information for the sheet edges of the selected section whenever sheet edges are selected or de-selected.
Signature
UpdateSheetEdges()
New in version NX10.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR nx_freeform_2 (“advanced freeform modeling”) OR ug_mold_design (“UG MOLD”) OR die_engineering (“DIE ENGINEERING”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Validate¶
-
GuidedExtensionBuilderEx.
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.