MWDesignPartingSurfaceBuilder Class

class NXOpen.Tooling.MWDesignPartingSurfaceBuilder

Bases: NXOpen.Builder

The builder for designing parting surface in Mold Wizard.

To create a new instance of this class, use NXOpen.Tooling.MWDesignPartingSurfaceCollection.CreateBuilder()

Default values.

Property Value
AlternateMethod 0
CreateAsPartingSurface 1
CreateExtrudeSweptPreview 0
EnlargeOtherFaceOption 0
ExtendDistance.Value 1 (millimeters part), 1 (inches part)
ExtrudeDistance 60
ExtrudeDraftAngle 0
ResizeAllDirections 1
SurfaceRange.AnchorPosition Vertex1
SurfaceTolerance 0.01
SurfaceType Extrude
TransitionSurfType Auto
TrimAndExtendFromRegion Cavity
TrimWithGuideLines 1
UseDefaultKeepSide 1

New in version NX7.5.0.

Properties

Property Description
AlternateMethod Returns or sets the option to use the system provided alternate method to create transition parting surface.
CreateAsPartingSurface Returns or sets the option to create surface as parting surface
CreateExtrudeSweptPreview Returns or sets the option to turn on or off the preview for Extrude or Swept parting surface
EditPartingLines Returns the parting lines to edit.
EnlargeOtherFaceOption Returns or sets the option for enlarging the other face that connects to the same edge.
ExtendDistance Returns the extend distance for creating parting surface.
ExtrudeDirection Returns or sets the extrude or first direction used in creating parting surface that requires only one direction.
ExtrudeDistance Returns or sets the extrude distance for updating the expression parting_extrude_distance.
ExtrudeDraftAngle Returns or sets the draft angle for extrude parting surface
GuideOrPartingLine Returns the guide or parting line to create or edit a guide line.
PartingLines Returns the parting lines for creating parting surface.
PrimaryEdges Returns the primary edges for creating transition parting surface.
ResizeAllDirections Returns or sets the option to enlarge or resize surface for all directions.
SecondDirection Returns or sets the second direction used in creating parting surface that requires two directions.
SurfaceRange Returns the surface range for enlarging surface.
SurfaceTolerance Returns or sets the surface tolerance.
SurfaceType Returns or sets the type of parting surface to be created.
Tag Returns the Tag for this object.
TransitionObjects Returns the transition curves or points used in creating transition parting surface.
TransitionSurfType Returns or sets the type of transition surface to be created.
TrimAndExtendFromRegion Returns or sets the option for trim and extend from the cavity or core region.
TrimWithGuideLines Returns or sets the option to trim with guide lines.
UseDefaultKeepSide Returns or sets the option to use the default keep side for trimming bounded plane or enlarged surface

Methods

Method Description
AutoCreatePartingSurfaces Method to auto create parting surfaces.
ChangePartingObjectType Change the type of parting objects to be placed or edited.
CheckSuppressParting Check if suppressing parting is needed.
ClearPreCreatedBoundedPlaneAndEnlargedSurface Clear the pre-created bounded plane and enlarged surface if no longer needed.
ClearPreCreatedExtrudeAndSweptSurface Clear the pre-created extrude and swept surfaces for preview if no longer needed.
Commit Commits any edits that have been applied to the builder.
CreateSectionForGuidedExtensionPreview Method to create a section for the preview of guided extension surface
CreateSurfaceData Create surface data for enlarged surface.
DeleteAllPartingSurfaces Method to delete all the parting surfaces before auto create parting surfaces if the user chooses to do so.
DeletePartingSurface Delete a newly created parting surface.
Destroy Deletes the builder, and cleans up any objects created by the builder.
DisplayObjectsOnEntry Display the parting surfaces, guide lines, and parting lines when entering the Design Parting Surface command.
FinalizeCreatePartingSurface Finalize the creation of bounded plane or enlarged surface parting surface.
FlipTrimmedSheet Flip the trimmed bounded plane or the enlarged surface for parting surface.
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.
InitializeOnEntry Perform initialization tasks when entering the Design Parting Surface command.
PreCreateBoundedPlaneAndEnlargedSurface Pre-create a bounded plane or enlarged surface when the respective surface type is on.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UpdateAllSegmentsAutoCreateInfo Method to update the auto create info for all parting segments.
UpdateBuilderPartingLinesHashTable Method to update the hash table of parting lines of the builder
UpdateEditPartingLines Update the parting lines being edited to reflect the change immediately
UpdateExtrudeAndSweptSheets Method to update the temporary Extrude and Swept sheets for changes in UI.
UpdateExtrudeDistanceExpression Update the expression for the parting surface extrude distance with a new value.
UpdateInApplyStatus Method to update the Apply status of the command.
UpdatePartingLines Update parting lines after traversing parting lines.
UpdatePreviewSurface Update the preview surface for the bounded plane or enlarged surface.
UpdateSegmentAutoCreateInfo Method to update the auto create info for the selected parting segment
UpdateTransitionPoints Update transition points after editing guide lines.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

MWDesignPartingSurfaceBuilderObjectType Enumeration The type of parting objects to be edited or placed.
MWDesignPartingSurfaceBuilderPartingSurfaceType Enumeration The type of parting surface to be created.
MWDesignPartingSurfaceBuilderTransitionSurfaceType Enumeration The type of transition surface to be created.
MWDesignPartingSurfaceBuilderTrimAndExtendFromRegionType Enumeration The region type from which to trim and extend when creating parting surface.

Property Detail

AlternateMethod

MWDesignPartingSurfaceBuilder.AlternateMethod

Returns or sets the option to use the system provided alternate method to create transition parting surface.

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

Getter Method

Signature AlternateMethod

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature AlternateMethod

Parameters:alternateMethod (bool) –

New in version NX7.5.0.

License requirements: None.

CreateAsPartingSurface

MWDesignPartingSurfaceBuilder.CreateAsPartingSurface

Returns or sets the option to create surface as parting surface

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

Getter Method

Signature CreateAsPartingSurface

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature CreateAsPartingSurface

Parameters:createAsPartingSurface (bool) –

New in version NX11.0.0.

License requirements: None.

CreateExtrudeSweptPreview

MWDesignPartingSurfaceBuilder.CreateExtrudeSweptPreview

Returns or sets the option to turn on or off the preview for Extrude or Swept parting surface

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

Getter Method

Signature CreateExtrudeSweptPreview

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature CreateExtrudeSweptPreview

Parameters:createExtrudeSweptPreview (bool) –

New in version NX8.5.0.

License requirements: None.

EditPartingLines

MWDesignPartingSurfaceBuilder.EditPartingLines

Returns the parting lines to edit.

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

Getter Method

Signature EditPartingLines

Returns:
Return type:NXOpen.ScCollector

New in version NX7.5.0.

License requirements: None.

EnlargeOtherFaceOption

MWDesignPartingSurfaceBuilder.EnlargeOtherFaceOption

Returns or sets the option for enlarging the other face that connects to the same edge.

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

Getter Method

Signature EnlargeOtherFaceOption

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature EnlargeOtherFaceOption

Parameters:enlargeOtherFaceOption (bool) –

New in version NX7.5.0.

License requirements: None.

ExtendDistance

MWDesignPartingSurfaceBuilder.ExtendDistance

Returns the extend distance for creating parting surface.

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

Getter Method

Signature ExtendDistance

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

ExtrudeDirection

MWDesignPartingSurfaceBuilder.ExtrudeDirection

Returns or sets the extrude or first direction used in creating parting surface that requires only one direction.

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

Getter Method

Signature ExtrudeDirection

Returns:
Return type:NXOpen.Direction

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ExtrudeDirection

Parameters:extrudeDirection (NXOpen.Direction) –

New in version NX7.5.0.

License requirements: None.

ExtrudeDistance

MWDesignPartingSurfaceBuilder.ExtrudeDistance

Returns or sets the extrude distance for updating the expression “parting_extrude_distance”.

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

Getter Method

Signature ExtrudeDistance

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ExtrudeDistance

Parameters:extrudeDistance (float) –

New in version NX7.5.0.

License requirements: None.

ExtrudeDraftAngle

MWDesignPartingSurfaceBuilder.ExtrudeDraftAngle

Returns or sets the draft angle for extrude parting surface

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

Getter Method

Signature ExtrudeDraftAngle

Returns:
Return type:float

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature ExtrudeDraftAngle

Parameters:extrudeDraftAngle (float) –

New in version NX8.0.0.

License requirements: None.

GuideOrPartingLine

MWDesignPartingSurfaceBuilder.GuideOrPartingLine

Returns the guide or parting line to create or edit a guide line.

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

Getter Method

Signature GuideOrPartingLine

Returns:
Return type:NXOpen.SelectCurve

New in version NX7.5.0.

License requirements: None.

PartingLines

MWDesignPartingSurfaceBuilder.PartingLines

Returns the parting lines for creating parting surface.

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

Getter Method

Signature PartingLines

Returns:
Return type:NXOpen.SelectCurveList

New in version NX7.5.0.

License requirements: None.

PrimaryEdges

MWDesignPartingSurfaceBuilder.PrimaryEdges

Returns the primary edges for creating transition parting surface.

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

Getter Method

Signature PrimaryEdges

Returns:
Return type:NXOpen.SelectEdgeList

New in version NX7.5.0.

License requirements: None.

ResizeAllDirections

MWDesignPartingSurfaceBuilder.ResizeAllDirections

Returns or sets the option to enlarge or resize surface for all directions.

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

Getter Method

Signature ResizeAllDirections

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ResizeAllDirections

Parameters:resizeAllDirections (bool) –

New in version NX7.5.0.

License requirements: None.

SecondDirection

MWDesignPartingSurfaceBuilder.SecondDirection

Returns or sets the second direction used in creating parting surface that requires two directions.

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

Getter Method

Signature SecondDirection

Returns:
Return type:NXOpen.Direction

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature SecondDirection

Parameters:secondDirection (NXOpen.Direction) –

New in version NX7.5.0.

License requirements: None.

SurfaceRange

MWDesignPartingSurfaceBuilder.SurfaceRange

Returns the surface range for enlarging surface.

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

Getter Method

Signature SurfaceRange

Returns:
Return type:NXOpen.GeometricUtilities.SurfaceRangeBuilder

New in version NX7.0.0.

License requirements: None.

SurfaceTolerance

MWDesignPartingSurfaceBuilder.SurfaceTolerance

Returns or sets the surface tolerance.

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

Getter Method

Signature SurfaceTolerance

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature SurfaceTolerance

Parameters:surfaceTolerance (float) –

New in version NX7.5.0.

License requirements: None.

SurfaceType

MWDesignPartingSurfaceBuilder.SurfaceType

Returns or sets the type of parting surface to be created.

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

Getter Method

Signature SurfaceType

Returns:
Return type:NXOpen.Tooling.MWDesignPartingSurfaceBuilderPartingSurfaceType

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature SurfaceType

Parameters:surfaceType (NXOpen.Tooling.MWDesignPartingSurfaceBuilderPartingSurfaceType) –

New in version NX7.5.0.

License requirements: None.

TransitionObjects

MWDesignPartingSurfaceBuilder.TransitionObjects

Returns the transition curves or points used in creating transition parting surface.

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

Getter Method

Signature TransitionObjects

Returns:
Return type:NXOpen.SelectCurveList

New in version NX7.5.0.

License requirements: None.

TransitionSurfType

MWDesignPartingSurfaceBuilder.TransitionSurfType

Returns or sets the type of transition surface to be created.

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

Getter Method

Signature TransitionSurfType

Returns:
Return type:NXOpen.Tooling.MWDesignPartingSurfaceBuilderTransitionSurfaceType

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature TransitionSurfType

Parameters:transitionSurfType (NXOpen.Tooling.MWDesignPartingSurfaceBuilderTransitionSurfaceType) –

New in version NX7.5.0.

License requirements: None.

TrimAndExtendFromRegion

MWDesignPartingSurfaceBuilder.TrimAndExtendFromRegion

Returns or sets the option for “trim and extend” from the cavity or core region.

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

Getter Method

Signature TrimAndExtendFromRegion

Returns:
Return type:NXOpen.Tooling.MWDesignPartingSurfaceBuilderTrimAndExtendFromRegionType

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature TrimAndExtendFromRegion

Parameters:trimAndExtendFromRegion (NXOpen.Tooling.MWDesignPartingSurfaceBuilderTrimAndExtendFromRegionType) –

New in version NX7.5.0.

License requirements: None.

TrimWithGuideLines

MWDesignPartingSurfaceBuilder.TrimWithGuideLines

Returns or sets the option to trim with guide lines.

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

Getter Method

Signature TrimWithGuideLines

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature TrimWithGuideLines

Parameters:trimWithGuideLines (bool) –

New in version NX7.5.0.

License requirements: None.

UseDefaultKeepSide

MWDesignPartingSurfaceBuilder.UseDefaultKeepSide

Returns or sets the option to use the default keep side for trimming bounded plane or enlarged surface

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

Getter Method

Signature UseDefaultKeepSide

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature UseDefaultKeepSide

Parameters:useDefaultKeepSide (bool) –

New in version NX8.5.0.

License requirements: None.

Method Detail

AutoCreatePartingSurfaces

MWDesignPartingSurfaceBuilder.AutoCreatePartingSurfaces

Method to auto create parting surfaces.

Signature AutoCreatePartingSurfaces()

New in version NX8.5.0.

License requirements: None.

ChangePartingObjectType

MWDesignPartingSurfaceBuilder.ChangePartingObjectType

Change the type of parting objects to be placed or edited.

Signature ChangePartingObjectType(partingObjectType)

Parameters:partingObjectType (int) – Parting object type

New in version NX7.5.0.

License requirements: None.

CheckSuppressParting

MWDesignPartingSurfaceBuilder.CheckSuppressParting

Check if suppressing parting is needed.

Signature CheckSuppressParting()

New in version NX7.5.0.

License requirements: None.

ClearPreCreatedBoundedPlaneAndEnlargedSurface

MWDesignPartingSurfaceBuilder.ClearPreCreatedBoundedPlaneAndEnlargedSurface

Clear the pre-created bounded plane and enlarged surface if no longer needed.

Signature ClearPreCreatedBoundedPlaneAndEnlargedSurface(differentSegment)

Parameters:differentSegment (int) – Different segment flag

New in version NX7.5.0.

License requirements: None.

ClearPreCreatedExtrudeAndSweptSurface

MWDesignPartingSurfaceBuilder.ClearPreCreatedExtrudeAndSweptSurface

Clear the pre-created extrude and swept surfaces for preview if no longer needed.

Signature ClearPreCreatedExtrudeAndSweptSurface(deleteSheet)

Parameters:deleteSheet (int) – Delete sheet flag

New in version NX8.5.0.

License requirements: None.

CreateSectionForGuidedExtensionPreview

MWDesignPartingSurfaceBuilder.CreateSectionForGuidedExtensionPreview

Method to create a section for the preview of guided extension surface

Signature CreateSectionForGuidedExtensionPreview()

New in version NX10.0.0.

License requirements: None.

CreateSurfaceData

MWDesignPartingSurfaceBuilder.CreateSurfaceData

Create surface data for enlarged surface.

Signature CreateSurfaceData(faceTag)

Parameters:faceTag (NXOpen.Face) – Face for the surface data

New in version NX7.5.0.

License requirements: None.

DeleteAllPartingSurfaces

MWDesignPartingSurfaceBuilder.DeleteAllPartingSurfaces

Method to delete all the parting surfaces before auto create parting surfaces if the user chooses to do so.

Signature DeleteAllPartingSurfaces()

New in version NX8.5.0.

License requirements: None.

DeletePartingSurface

MWDesignPartingSurfaceBuilder.DeletePartingSurface

Delete a newly created parting surface.

Signature DeletePartingSurface(partingSheet)

Parameters:partingSheet (NXOpen.Body) – Parting sheet to be deleted

New in version NX7.5.0.

License requirements: None.

DisplayObjectsOnEntry

MWDesignPartingSurfaceBuilder.DisplayObjectsOnEntry

Display the parting surfaces, guide lines, and parting lines when entering the Design Parting Surface command.

Signature DisplayObjectsOnEntry()

New in version NX7.5.0.

License requirements: None.

FinalizeCreatePartingSurface

MWDesignPartingSurfaceBuilder.FinalizeCreatePartingSurface

Finalize the creation of bounded plane or enlarged surface parting surface.

Signature FinalizeCreatePartingSurface()

New in version NX7.5.0.

License requirements: None.

FlipTrimmedSheet

MWDesignPartingSurfaceBuilder.FlipTrimmedSheet

Flip the trimmed bounded plane or the enlarged surface for parting surface.

Signature FlipTrimmedSheet()

New in version NX7.5.0.

License requirements: None.

InitializeOnEntry

MWDesignPartingSurfaceBuilder.InitializeOnEntry

Perform initialization tasks when entering the Design Parting Surface command.

Signature InitializeOnEntry()

New in version NX7.5.0.

License requirements: None.

PreCreateBoundedPlaneAndEnlargedSurface

MWDesignPartingSurfaceBuilder.PreCreateBoundedPlaneAndEnlargedSurface

Pre-create a bounded plane or enlarged surface when the respective surface type is on.

Signature PreCreateBoundedPlaneAndEnlargedSurface()

New in version NX7.5.0.

License requirements: None.

UpdateAllSegmentsAutoCreateInfo

MWDesignPartingSurfaceBuilder.UpdateAllSegmentsAutoCreateInfo

Method to update the auto create info for all parting segments.

Signature UpdateAllSegmentsAutoCreateInfo()

New in version NX8.5.0.

License requirements: None.

UpdateBuilderPartingLinesHashTable

MWDesignPartingSurfaceBuilder.UpdateBuilderPartingLinesHashTable

Method to update the hash table of parting lines of the builder

Signature UpdateBuilderPartingLinesHashTable()

New in version NX11.0.2.

License requirements: None.

UpdateEditPartingLines

MWDesignPartingSurfaceBuilder.UpdateEditPartingLines

Update the parting lines being edited to reflect the change immediately

Signature UpdateEditPartingLines()

New in version NX7.5.0.

License requirements: None.

UpdateExtrudeAndSweptSheets

MWDesignPartingSurfaceBuilder.UpdateExtrudeAndSweptSheets

Method to update the temporary Extrude and Swept sheets for changes in UI.

Signature UpdateExtrudeAndSweptSheets(directionChange)

Parameters:directionChange (int) –

New in version NX8.5.0.

License requirements: None.

UpdateExtrudeDistanceExpression

MWDesignPartingSurfaceBuilder.UpdateExtrudeDistanceExpression

Update the expression for the parting surface extrude distance with a new value.

Signature UpdateExtrudeDistanceExpression(extrudeDistance)

Parameters:extrudeDistance (float) – Extrude distance for expression

New in version NX7.5.0.

License requirements: None.

UpdateInApplyStatus

MWDesignPartingSurfaceBuilder.UpdateInApplyStatus

Method to update the Apply status of the command.

Signature UpdateInApplyStatus(inApplyStatus)

Parameters:inApplyStatus (int) –

New in version NX8.5.0.

License requirements: None.

UpdatePartingLines

MWDesignPartingSurfaceBuilder.UpdatePartingLines

Update parting lines after traversing parting lines.

Signature UpdatePartingLines()

New in version NX7.5.0.

License requirements: None.

UpdatePreviewSurface

MWDesignPartingSurfaceBuilder.UpdatePreviewSurface

Update the preview surface for the bounded plane or enlarged surface.

Signature UpdatePreviewSurface()

New in version NX7.5.0.

License requirements: None.

UpdateSegmentAutoCreateInfo

MWDesignPartingSurfaceBuilder.UpdateSegmentAutoCreateInfo

Method to update the auto create info for the selected parting segment

Signature UpdateSegmentAutoCreateInfo()

New in version NX8.5.0.

License requirements: None.

UpdateTransitionPoints

MWDesignPartingSurfaceBuilder.UpdateTransitionPoints

Update transition points after editing guide lines.

Signature UpdateTransitionPoints()

New in version NX7.5.0.

License requirements: None.

Validate

MWDesignPartingSurfaceBuilder.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.