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

Represents a builder to be used to create Mold Wizard design trim tool. More...

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

Public Member Functions

NXOpen::NXObjectCreateDefaultSheet (const NXString &surfaceName, NXOpen::NXObject *trimPart, int sheetType, int layer)
 Create a Moldwizard default trim surface, including CORE_TRIM_SHEET, CAVITY_TRIM_SHEET, CORE_MOLD_SURFACE, CAVITY_MOLD_SURFACE. More...
 
NXOpen::NXObjectCreateDefaultSheet (const char *surfaceName, NXOpen::NXObject *trimPart, int sheetType, int layer)
 Create a Moldwizard default trim surface, including CORE_TRIM_SHEET, CAVITY_TRIM_SHEET, CORE_MOLD_SURFACE, CAVITY_MOLD_SURFACE. More...
 
NXOpen::Assemblies::ComponentCreateNewComponent (const NXString &partName, const NXString &instanceName)
 Create a new trim part component in the work part. More...
 
NXOpen::Assemblies::ComponentCreateNewComponent (const char *partName, const char *instanceName)
 Create a new trim part component in the work part. More...
 
int NewSurfaceLayer ()
 Returns the layer where the new trim surface is created. More...
 
void SetNewSurfaceLayer (int newSurfaceLayer)
 Sets the layer where the new trim surface is created. More...
 
void SetTrimDataDetails (NXOpen::NXObject *trimPart, NXOpen::NXObject *sourceObjectOcc, const NXString &currentTrimSurfaceName, const NXString &previousTrimSurfaceName)
 Set details of the trim data. More...
 
void SetTrimDataDetails (NXOpen::NXObject *trimPart, NXOpen::NXObject *sourceObjectOcc, const char *currentTrimSurfaceName, const char *previousTrimSurfaceName)
 Set details of the trim data. More...
 
NXOpen::SelectNXObjectSourceObject ()
 Returns the face or sheet body. 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

Represents a builder to be used to create Mold Wizard design trim tool.


To create a new instance of this class, use NXOpen::Tooling::DesignTrimToolCollection::CreateDesignTrimToolBuilder
Default values.

Property Value

NewSurfaceLayer

32


Created in NX7.5.0.

Member Function Documentation

NXOpen::NXObject* NXOpen::Tooling::DesignTrimToolBuilder::CreateDefaultSheet ( const NXString surfaceName,
NXOpen::NXObject trimPart,
int  sheetType,
int  layer 
)

Create a Moldwizard default trim surface, including CORE_TRIM_SHEET, CAVITY_TRIM_SHEET, CORE_MOLD_SURFACE, CAVITY_MOLD_SURFACE.

Returns
the new sheet that is created.
Created in NX7.5.0.

License requirements : None
Parameters
surfaceNamethe name for the default sheet to create.
trimPartthe trim part where to create the default trim surface feature.
sheetTypethe sheet type, parting sheet or mold surface.
layerthe layer to put the new sheet feature.
NXOpen::NXObject* NXOpen::Tooling::DesignTrimToolBuilder::CreateDefaultSheet ( const char *  surfaceName,
NXOpen::NXObject trimPart,
int  sheetType,
int  layer 
)

Create a Moldwizard default trim surface, including CORE_TRIM_SHEET, CAVITY_TRIM_SHEET, CORE_MOLD_SURFACE, CAVITY_MOLD_SURFACE.

Returns
the new sheet that is created.
Created in NX7.5.0.

License requirements : None
Parameters
surfaceNamethe name for the default sheet to create.
trimPartthe trim part where to create the default trim surface feature.
sheetTypethe sheet type, parting sheet or mold surface.
layerthe layer to put the new sheet feature.
NXOpen::Assemblies::Component* NXOpen::Tooling::DesignTrimToolBuilder::CreateNewComponent ( const NXString partName,
const NXString instanceName 
)

Create a new trim part component in the work part.

Returns
the new component that is created.
Created in NX7.5.0.

License requirements : None
Parameters
partNamethe part name for the new component.
instanceNamethe instance name for the new component.
NXOpen::Assemblies::Component* NXOpen::Tooling::DesignTrimToolBuilder::CreateNewComponent ( const char *  partName,
const char *  instanceName 
)

Create a new trim part component in the work part.

Returns
the new component that is created.
Created in NX7.5.0.

License requirements : None
Parameters
partNamethe part name for the new component.
instanceNamethe instance name for the new component.
int NXOpen::Tooling::DesignTrimToolBuilder::NewSurfaceLayer ( )

Returns the layer where the new trim surface is created.


Created in NX7.5.0.

License requirements : None

void NXOpen::Tooling::DesignTrimToolBuilder::SetNewSurfaceLayer ( int  newSurfaceLayer)

Sets the layer where the new trim surface is created.


Created in NX7.5.0.

License requirements : None

Parameters
newSurfaceLayernewsurfacelayer
void NXOpen::Tooling::DesignTrimToolBuilder::SetTrimDataDetails ( NXOpen::NXObject trimPart,
NXOpen::NXObject sourceObjectOcc,
const NXString currentTrimSurfaceName,
const NXString previousTrimSurfaceName 
)

Set details of the trim data.


Created in NX7.5.0.

License requirements : None

Parameters
trimPartthe trim part where to create or edit or trim surface feature.
sourceObjectOccthe source object occurrence used to create a linked feature in the trim part.
currentTrimSurfaceNamethe name to set to the trim surface feature.
previousTrimSurfaceNamethe previous name of the trim surface feature.
void NXOpen::Tooling::DesignTrimToolBuilder::SetTrimDataDetails ( NXOpen::NXObject trimPart,
NXOpen::NXObject sourceObjectOcc,
const char *  currentTrimSurfaceName,
const char *  previousTrimSurfaceName 
)

Set details of the trim data.


Created in NX7.5.0.

License requirements : None

Parameters
trimPartthe trim part where to create or edit or trim surface feature.
sourceObjectOccthe source object occurrence used to create a linked feature in the trim part.
currentTrimSurfaceNamethe name to set to the trim surface feature.
previousTrimSurfaceNamethe previous name of the trim surface feature.
NXOpen::SelectNXObject* NXOpen::Tooling::DesignTrimToolBuilder::SourceObject ( )

Returns the face or sheet body.


Created in NX7.5.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.