NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Tooling::WorkpieceBuilder Class Reference

Mold Wizard work piece builder
To create a new instance of this class, use NXOpen::Tooling::WorkpieceCollection::CreateWorkpieceBuilder
Default values. More...

Inheritance diagram for NXOpen::Tooling::WorkpieceBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  MethodType { MethodTypeDistanceAllowance, MethodTypeReferencePoint, MethodTypeSketch, MethodTypeKfBox }
 the unit type includes the work piece define method More...
 
enum  Types { TypesProductWorkPiece, TypesCombinedWorkPiece }
 the unit type includes product and combined work piece type More...
 
enum  WorkPieceType { WorkPieceTypeUserDefinedBlock, WorkPieceTypeCavityCore, WorkPieceTypeCavityOnly, WorkPieceTypeCoreOnly }
 the unit type includes the work piece create method More...
 

Public Member Functions

NXOpen::Tooling::WorkpieceBuilder::WorkPieceType BlockType ()
 Returns the work piece shape type access functions
Created in NX6.0.0. More...
 
NXOpen::Tooling::WorkpieceBuilder::MethodType GenerateMethod ()
 Returns the generate method access functions
Created in NX6.0.0. More...
 
NXOpen::PointReferencePoint ()
 Returns the reference point to generate the work piece
Created in NX6.0.0. More...
 
void ResetSizes ()
 Resets workpiece sizes
Created in NX9.0.0. More...
 
bool RoundDimensionValue ()
 Returns the dimension round value
Created in NX6.0.0. More...
 
double RoundPrecision ()
 Returns the round precision
Created in NX6.0.0. More...
 
NXOpen::SelectBodyListSelectWorkPieceBody ()
 Returns the work piece body selection
Created in NX6.0.0. More...
 
void SetBlockType (NXOpen::Tooling::WorkpieceBuilder::WorkPieceType blockType)
 Sets the work piece shape type access functions
Created in NX6.0.0. More...
 
void SetGenerateMethod (NXOpen::Tooling::WorkpieceBuilder::MethodType generateMethod)
 Sets the generate method access functions
Created in NX6.0.0. More...
 
void SetReferencePoint (NXOpen::Point *referencePoint)
 Sets the reference point to generate the work piece
Created in NX6.0.0. More...
 
void SetRoundDimensionValue (bool roundDimensionValue)
 Sets the dimension round value
Created in NX6.0.0. More...
 
void SetRoundPrecision (double roundPrecision)
 Sets the round precision
Created in NX6.0.0. More...
 
void SetShowBoundbox (bool showBoundbox)
 Sets the setting to show the bounding box of the product or not
Created in NX6.0.0. More...
 
void SetType (NXOpen::Tooling::WorkpieceBuilder::Types type)
 Sets the selection type to select the work piece
Created in NX6.0.0. More...
 
bool ShowBoundbox ()
 Returns the setting to show the bounding box of the product or not
Created in NX6.0.0. More...
 
NXOpen::Tooling::WorkpieceBuilder::Types Type ()
 Returns the selection type to select the work piece
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Mold Wizard work piece builder
To create a new instance of this class, use NXOpen::Tooling::WorkpieceCollection::CreateWorkpieceBuilder
Default values.

Property Value

BlockType

UserDefinedBlock

GenerateMethod

DistanceAllowance

RoundDimensionValue

0

RoundPrecision

0

ShowBoundbox

0


Created in NX6.0.0.

Member Enumeration Documentation

the unit type includes the work piece define method

Enumerator
MethodTypeDistanceAllowance 

Create block by define the distance allowance.

MethodTypeReferencePoint 

Create block by define the reference point.

MethodTypeSketch 

Create block by extrude the sketch.

MethodTypeKfBox 

Create block by define the kf box.

the unit type includes product and combined work piece type

Enumerator
TypesProductWorkPiece 

The old assembly of Mold wizard.

TypesCombinedWorkPiece 

The new assembly of Mold wizard.

the unit type includes the work piece create method

Enumerator
WorkPieceTypeUserDefinedBlock 

The method defines the block by user.

WorkPieceTypeCavityCore 

The method adds the standards of cavity and core.

WorkPieceTypeCavityOnly 

The method adds the standards of cavity.

WorkPieceTypeCoreOnly 

The method adds the standards of cavity.

Member Function Documentation

NXOpen::Tooling::WorkpieceBuilder::WorkPieceType NXOpen::Tooling::WorkpieceBuilder::BlockType ( )

Returns the work piece shape type access functions
Created in NX6.0.0.



License requirements : None

NXOpen::Tooling::WorkpieceBuilder::MethodType NXOpen::Tooling::WorkpieceBuilder::GenerateMethod ( )

Returns the generate method access functions
Created in NX6.0.0.



License requirements : None

NXOpen::Point* NXOpen::Tooling::WorkpieceBuilder::ReferencePoint ( )

Returns the reference point to generate the work piece
Created in NX6.0.0.



License requirements : None

void NXOpen::Tooling::WorkpieceBuilder::ResetSizes ( )

Resets workpiece sizes
Created in NX9.0.0.



License requirements : None

bool NXOpen::Tooling::WorkpieceBuilder::RoundDimensionValue ( )

Returns the dimension round value
Created in NX6.0.0.



License requirements : None

double NXOpen::Tooling::WorkpieceBuilder::RoundPrecision ( )

Returns the round precision
Created in NX6.0.0.



License requirements : None

NXOpen::SelectBodyList* NXOpen::Tooling::WorkpieceBuilder::SelectWorkPieceBody ( )

Returns the work piece body selection
Created in NX6.0.0.



License requirements : None

void NXOpen::Tooling::WorkpieceBuilder::SetBlockType ( NXOpen::Tooling::WorkpieceBuilder::WorkPieceType  blockType)

Sets the work piece shape type access functions
Created in NX6.0.0.



License requirements : None

Parameters
blockTypeblocktype
void NXOpen::Tooling::WorkpieceBuilder::SetGenerateMethod ( NXOpen::Tooling::WorkpieceBuilder::MethodType  generateMethod)

Sets the generate method access functions
Created in NX6.0.0.



License requirements : None

Parameters
generateMethodgeneratemethod
void NXOpen::Tooling::WorkpieceBuilder::SetReferencePoint ( NXOpen::Point referencePoint)

Sets the reference point to generate the work piece
Created in NX6.0.0.



License requirements : None

Parameters
referencePointreferencepoint
void NXOpen::Tooling::WorkpieceBuilder::SetRoundDimensionValue ( bool  roundDimensionValue)

Sets the dimension round value
Created in NX6.0.0.



License requirements : None

Parameters
roundDimensionValuerounddimensionvalue
void NXOpen::Tooling::WorkpieceBuilder::SetRoundPrecision ( double  roundPrecision)

Sets the round precision
Created in NX6.0.0.



License requirements : None

Parameters
roundPrecisionroundprecision
void NXOpen::Tooling::WorkpieceBuilder::SetShowBoundbox ( bool  showBoundbox)

Sets the setting to show the bounding box of the product or not
Created in NX6.0.0.



License requirements : None

Parameters
showBoundboxshowboundbox
void NXOpen::Tooling::WorkpieceBuilder::SetType ( NXOpen::Tooling::WorkpieceBuilder::Types  type)

Sets the selection type to select the work piece
Created in NX6.0.0.



License requirements : None

Parameters
typetype
bool NXOpen::Tooling::WorkpieceBuilder::ShowBoundbox ( )

Returns the setting to show the bounding box of the product or not
Created in NX6.0.0.



License requirements : None

NXOpen::Tooling::WorkpieceBuilder::Types NXOpen::Tooling::WorkpieceBuilder::Type ( )

Returns the selection type to select the work piece
Created in NX6.0.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.