NX Open C++ Reference Guide
|
The builder for designing parting surface in Mold Wizard. More...
Public Types | |
enum | ObjectType { ObjectTypePartingSurface, ObjectTypePartingLine, ObjectTypeGuideLine, ObjectTypeTransitionObject } |
The type of parting objects to be edited or placed. More... | |
enum | PartingSurfaceType { PartingSurfaceTypeExtrude, PartingSurfaceTypeSwept, PartingSurfaceTypeBoundedPlane, PartingSurfaceTypeEnlargedSurface, PartingSurfaceTypeTrimandExtend, PartingSurfaceTypeRibbonSurface, PartingSurfaceTypeGuidedExtension } |
The type of parting surface to be created. More... | |
enum | TransitionSurfaceType { TransitionSurfaceTypeAuto, TransitionSurfaceTypeBoundedPlane, TransitionSurfaceTypeSwept, TransitionSurfaceTypeBridge } |
The type of transition surface to be created. More... | |
enum | TrimAndExtendFromRegionType { TrimAndExtendFromRegionTypeCavity, TrimAndExtendFromRegionTypeCore } |
The region type from which to trim and extend when creating parting surface. More... | |
Public Member Functions | |
bool | AlternateMethod () |
Returns the option to use the system provided alternate method to create transition parting surface. | |
void | AutoCreatePartingSurfaces () |
Method to auto create parting surfaces. | |
void | ChangePartingObjectType (int partingObjectType) |
Change the type of parting objects to be placed or edited. | |
void | CheckSuppressParting () |
Check if suppressing parting is needed. | |
void | ClearPreCreatedBoundedPlaneAndEnlargedSurface (int differentSegment) |
Clear the pre-created bounded plane and enlarged surface if no longer needed. | |
void | ClearPreCreatedExtrudeAndSweptSurface (int deleteSheet) |
Clear the pre-created extrude and swept surfaces for preview if no longer needed. | |
bool | CreateExtrudeSweptPreview () |
Returns the option to turn on or off the preview for Extrude or Swept parting surface Created in NX8.5.0. | |
void | CreateSurfaceData (NXOpen::Face *faceTag) |
Create surface data for enlarged surface. | |
void | DeleteAllPartingSurfaces () |
Method to delete all the parting surfaces before auto create parting surfaces if the user chooses to do so. | |
void | DeletePartingSurface (NXOpen::Body *partingSheet) |
Delete a newly created parting surface. | |
void | DisplayObjectsOnEntry () |
Display the parting surfaces, guide lines, and parting lines when entering the Design Parting Surface command. | |
NXOpen::ScCollector * | EditPartingLines () |
Returns the parting lines to edit. | |
bool | EnlargeOtherFaceOption () |
Returns the option for enlarging the other face that connects to the same edge. | |
NXOpen::Expression * | ExtendDistance () |
Returns the extend distance for creating parting surface. | |
NXOpen::Direction * | ExtrudeDirection () |
Returns the extrude or first direction used in creating parting surface that requires only one direction. | |
double | ExtrudeDistance () |
Returns the extrude distance for updating the expression "parting_extrude_distance". | |
double | ExtrudeDraftAngle () |
Returns the draft angle for extrude parting surface Created in NX8.0.0. | |
void | FinalizeCreatePartingSurface () |
Finalize the creation of bounded plane or enlarged surface parting surface. | |
void | FlipTrimmedSheet () |
Flip the trimmed bounded plane or the enlarged surface for parting surface. | |
NXOpen::SelectCurve * | GuideOrPartingLine () |
Returns the guide or parting line to create or edit a guide line. | |
void | InitializeOnEntry () |
Perform initialization tasks when entering the Design Parting Surface command. | |
NXOpen::SelectCurveList * | PartingLines () |
Returns the parting lines for creating parting surface. | |
void | PreCreateBoundedPlaneAndEnlargedSurface () |
Pre-create a bounded plane or enlarged surface when the respective surface type is on. | |
NXOpen::SelectEdgeList * | PrimaryEdges () |
Returns the primary edges for creating transition parting surface. | |
bool | ResizeAllDirections () |
Returns the option to enlarge or resize surface for all directions. | |
NXOpen::Direction * | SecondDirection () |
Returns the second direction used in creating parting surface that requires two directions. | |
void | SetAlternateMethod (bool alternateMethod) |
Sets the option to use the system provided alternate method to create transition parting surface. | |
void | SetCreateExtrudeSweptPreview (bool createExtrudeSweptPreview) |
Sets the option to turn on or off the preview for Extrude or Swept parting surface Created in NX8.5.0. | |
void | SetEnlargeOtherFaceOption (bool enlargeOtherFaceOption) |
Sets the option for enlarging the other face that connects to the same edge. | |
void | SetExtrudeDirection (NXOpen::Direction *extrudeDirection) |
Sets the extrude or first direction used in creating parting surface that requires only one direction. | |
void | SetExtrudeDistance (double extrudeDistance) |
Sets the extrude distance for updating the expression "parting_extrude_distance". | |
void | SetExtrudeDraftAngle (double extrudeDraftAngle) |
Sets the draft angle for extrude parting surface Created in NX8.0.0. | |
void | SetResizeAllDirections (bool resizeAllDirections) |
Sets the option to enlarge or resize surface for all directions. | |
void | SetSecondDirection (NXOpen::Direction *secondDirection) |
Sets the second direction used in creating parting surface that requires two directions. | |
void | SetSurfaceTolerance (double surfaceTolerance) |
Sets the surface tolerance. | |
void | SetSurfaceType (NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PartingSurfaceType surfaceType) |
Sets the type of parting surface to be created. | |
void | SetTransitionSurfType (NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionSurfaceType transitionSurfType) |
Sets the type of transition surface to be created. | |
void | SetTrimAndExtendFromRegion (NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimAndExtendFromRegionType trimAndExtendFromRegion) |
Sets the option for "trim and extend" from the cavity or core region. | |
void | SetTrimWithGuideLines (bool trimWithGuideLines) |
Sets the option to trim with guide lines. | |
void | SetUseDefaultKeepSide (bool useDefaultKeepSide) |
Sets the option to use the default keep side for trimming bounded plane or enlarged surface Created in NX8.5.0. | |
NXOpen::GeometricUtilities::SurfaceRangeBuilder * | SurfaceRange () |
Returns the surface range for enlarging surface. | |
double | SurfaceTolerance () |
Returns the surface tolerance. | |
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PartingSurfaceType | SurfaceType () |
Returns the type of parting surface to be created. | |
NXOpen::SelectCurveList * | TransitionObjects () |
Returns the transition curves or points used in creating transition parting surface. | |
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionSurfaceType | TransitionSurfType () |
Returns the type of transition surface to be created. | |
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimAndExtendFromRegionType | TrimAndExtendFromRegion () |
Returns the option for "trim and extend" from the cavity or core region. | |
bool | TrimWithGuideLines () |
Returns the option to trim with guide lines. | |
void | UpdateAllSegmentsAutoCreateInfo () |
Method to update the auto create info for all parting segments. | |
void | UpdateEditPartingLines () |
Update the parting lines being edited to reflect the change immediately Created in NX7.5.0. | |
void | UpdateExtrudeAndSweptSheets (int directionChange) |
Method to update the temporary Extrude and Swept sheets for changes in UI. | |
void | UpdateExtrudeDistanceExpression (double extrudeDistance) |
Update the expression for the parting surface extrude distance with a new value. | |
void | UpdateInApplyStatus (int inApplyStatus) |
Method to update the Apply status of the command. | |
void | UpdatePartingLines () |
Update parting lines after traversing parting lines. | |
void | UpdatePreviewSurface () |
Update the preview surface for the bounded plane or enlarged surface. | |
void | UpdateSegmentAutoCreateInfo () |
Method to update the auto create info for the selected parting segment Created in NX8.5.0. | |
void | UpdateTransitionPoints () |
Update transition points after editing guide lines. | |
bool | UseDefaultKeepSide () |
Returns the option to use the default keep side for trimming bounded plane or enlarged surface Created in NX8.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
The builder for designing parting surface in Mold Wizard.
To create a new instance of this class, use Tooling::MWDesignPartingSurfaceCollection::CreateBuilder
Default values.
Property | Value |
---|---|
AlternateMethod |
0 |
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 |
Created in NX7.5.0.
The type of parting surface to be created.
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::AlternateMethod | ( | ) |
Returns the option to use the system provided alternate method to create transition parting surface.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::AutoCreatePartingSurfaces | ( | ) |
Method to auto create parting surfaces.
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ChangePartingObjectType | ( | int | partingObjectType | ) |
Change the type of parting objects to be placed or edited.
Created in NX7.5.0.
License requirements : None
partingObjectType | Parting object type |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::CheckSuppressParting | ( | ) |
Check if suppressing parting is needed.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ClearPreCreatedBoundedPlaneAndEnlargedSurface | ( | int | differentSegment | ) |
Clear the pre-created bounded plane and enlarged surface if no longer needed.
Created in NX7.5.0.
License requirements : None
differentSegment | Different segment flag |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ClearPreCreatedExtrudeAndSweptSurface | ( | int | deleteSheet | ) |
Clear the pre-created extrude and swept surfaces for preview if no longer needed.
Created in NX8.5.0.
License requirements : None
deleteSheet | Delete sheet flag |
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::CreateExtrudeSweptPreview | ( | ) |
Returns the option to turn on or off the preview for Extrude or Swept parting surface
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::CreateSurfaceData | ( | NXOpen::Face * | faceTag | ) |
Create surface data for enlarged surface.
Created in NX7.5.0.
License requirements : None
faceTag | Face for the surface data |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::DeleteAllPartingSurfaces | ( | ) |
Method to delete all the parting surfaces before auto create parting surfaces if the user chooses to do so.
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::DeletePartingSurface | ( | NXOpen::Body * | partingSheet | ) |
Delete a newly created parting surface.
Created in NX7.5.0.
License requirements : None
partingSheet | Parting sheet to be deleted |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::DisplayObjectsOnEntry | ( | ) |
Display the parting surfaces, guide lines, and parting lines when entering the Design Parting Surface command.
Created in NX7.5.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::EditPartingLines | ( | ) |
Returns the parting lines to edit.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::EnlargeOtherFaceOption | ( | ) |
Returns the option for enlarging the other face that connects to the same edge.
Created in NX7.5.0.
License requirements : None
NXOpen::Expression* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ExtendDistance | ( | ) |
Returns the extend distance for creating parting surface.
Created in NX7.5.0.
License requirements : None
NXOpen::Direction* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ExtrudeDirection | ( | ) |
Returns the extrude or first direction used in creating parting surface that requires only one direction.
Created in NX7.5.0.
License requirements : None
double NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ExtrudeDistance | ( | ) |
Returns the extrude distance for updating the expression "parting_extrude_distance".
Created in NX7.5.0.
License requirements : None
double NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ExtrudeDraftAngle | ( | ) |
Returns the draft angle for extrude parting surface
Created in NX8.0.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::FinalizeCreatePartingSurface | ( | ) |
Finalize the creation of bounded plane or enlarged surface parting surface.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::FlipTrimmedSheet | ( | ) |
Flip the trimmed bounded plane or the enlarged surface for parting surface.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectCurve* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::GuideOrPartingLine | ( | ) |
Returns the guide or parting line to create or edit a guide line.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::InitializeOnEntry | ( | ) |
Perform initialization tasks when entering the Design Parting Surface command.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectCurveList* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PartingLines | ( | ) |
Returns the parting lines for creating parting surface.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PreCreateBoundedPlaneAndEnlargedSurface | ( | ) |
Pre-create a bounded plane or enlarged surface when the respective surface type is on.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectEdgeList* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PrimaryEdges | ( | ) |
Returns the primary edges for creating transition parting surface.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::ResizeAllDirections | ( | ) |
Returns the option to enlarge or resize surface for all directions.
Created in NX7.5.0.
License requirements : None
NXOpen::Direction* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SecondDirection | ( | ) |
Returns the second direction used in creating parting surface that requires two directions.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetAlternateMethod | ( | bool | alternateMethod | ) |
Sets the option to use the system provided alternate method to create transition parting surface.
Created in NX7.5.0.
License requirements : None
alternateMethod | alternatemethod |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetCreateExtrudeSweptPreview | ( | bool | createExtrudeSweptPreview | ) |
Sets the option to turn on or off the preview for Extrude or Swept parting surface
Created in NX8.5.0.
License requirements : None
createExtrudeSweptPreview | createextrudesweptpreview |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetEnlargeOtherFaceOption | ( | bool | enlargeOtherFaceOption | ) |
Sets the option for enlarging the other face that connects to the same edge.
Created in NX7.5.0.
License requirements : None
enlargeOtherFaceOption | enlargeotherfaceoption |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetExtrudeDirection | ( | NXOpen::Direction * | extrudeDirection | ) |
Sets the extrude or first direction used in creating parting surface that requires only one direction.
Created in NX7.5.0.
License requirements : None
extrudeDirection | extrudedirection |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetExtrudeDistance | ( | double | extrudeDistance | ) |
Sets the extrude distance for updating the expression "parting_extrude_distance".
Created in NX7.5.0.
License requirements : None
extrudeDistance | extrudedistance |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetExtrudeDraftAngle | ( | double | extrudeDraftAngle | ) |
Sets the draft angle for extrude parting surface
Created in NX8.0.0.
License requirements : None
extrudeDraftAngle | extrudedraftangle |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetResizeAllDirections | ( | bool | resizeAllDirections | ) |
Sets the option to enlarge or resize surface for all directions.
Created in NX7.5.0.
License requirements : None
resizeAllDirections | resizealldirections |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetSecondDirection | ( | NXOpen::Direction * | secondDirection | ) |
Sets the second direction used in creating parting surface that requires two directions.
Created in NX7.5.0.
License requirements : None
secondDirection | seconddirection |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetSurfaceTolerance | ( | double | surfaceTolerance | ) |
Sets the surface tolerance.
Created in NX7.5.0.
License requirements : None
surfaceTolerance | surfacetolerance |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetSurfaceType | ( | NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PartingSurfaceType | surfaceType | ) |
Sets the type of parting surface to be created.
Created in NX7.5.0.
License requirements : None
surfaceType | surfacetype |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetTransitionSurfType | ( | NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionSurfaceType | transitionSurfType | ) |
Sets the type of transition surface to be created.
Created in NX7.5.0.
License requirements : None
transitionSurfType | transitionsurftype |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetTrimAndExtendFromRegion | ( | NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimAndExtendFromRegionType | trimAndExtendFromRegion | ) |
Sets the option for "trim and extend" from the cavity or core region.
Created in NX7.5.0.
License requirements : None
trimAndExtendFromRegion | trimandextendfromregion |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetTrimWithGuideLines | ( | bool | trimWithGuideLines | ) |
Sets the option to trim with guide lines.
Created in NX7.5.0.
License requirements : None
trimWithGuideLines | trimwithguidelines |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SetUseDefaultKeepSide | ( | bool | useDefaultKeepSide | ) |
Sets the option to use the default keep side for trimming bounded plane or enlarged surface
Created in NX8.5.0.
License requirements : None
useDefaultKeepSide | usedefaultkeepside |
NXOpen::GeometricUtilities::SurfaceRangeBuilder* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SurfaceRange | ( | ) |
Returns the surface range for enlarging surface.
Created in NX7.0.0.
License requirements : None
double NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SurfaceTolerance | ( | ) |
Returns the surface tolerance.
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::PartingSurfaceType NXOpen::Tooling::MWDesignPartingSurfaceBuilder::SurfaceType | ( | ) |
Returns the type of parting surface to be created.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectCurveList* NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionObjects | ( | ) |
Returns the transition curves or points used in creating transition parting surface.
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionSurfaceType NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TransitionSurfType | ( | ) |
Returns the type of transition surface to be created.
Created in NX7.5.0.
License requirements : None
NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimAndExtendFromRegionType NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimAndExtendFromRegion | ( | ) |
Returns the option for "trim and extend" from the cavity or core region.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::TrimWithGuideLines | ( | ) |
Returns the option to trim with guide lines.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateAllSegmentsAutoCreateInfo | ( | ) |
Method to update the auto create info for all parting segments.
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateEditPartingLines | ( | ) |
Update the parting lines being edited to reflect the change immediately
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateExtrudeAndSweptSheets | ( | int | directionChange | ) |
Method to update the temporary Extrude and Swept sheets for changes in UI.
Created in NX8.5.0.
License requirements : None
directionChange | directionchange |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateExtrudeDistanceExpression | ( | double | extrudeDistance | ) |
Update the expression for the parting surface extrude distance with a new value.
Created in NX7.5.0.
License requirements : None
extrudeDistance | Extrude distance for expression |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateInApplyStatus | ( | int | inApplyStatus | ) |
Method to update the Apply status of the command.
Created in NX8.5.0.
License requirements : None
inApplyStatus | inapplystatus |
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdatePartingLines | ( | ) |
Update parting lines after traversing parting lines.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdatePreviewSurface | ( | ) |
Update the preview surface for the bounded plane or enlarged surface.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateSegmentAutoCreateInfo | ( | ) |
Method to update the auto create info for the selected parting segment
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UpdateTransitionPoints | ( | ) |
Update transition points after editing guide lines.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Tooling::MWDesignPartingSurfaceBuilder::UseDefaultKeepSide | ( | ) |
Returns the option to use the default keep side for trimming bounded plane or enlarged surface
Created in NX8.5.0.
License requirements : None