|
NX Open C++ Reference Guide
|
Represents a builder to be used to create Mold Wizard design trim tool. More...
Public Member Functions | |
| NXOpen::NXObject * | 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. | |
| NXOpen::NXObject * | 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. | |
| NXOpen::Assemblies::Component * | CreateNewComponent (const NXString &partName, const NXString &instanceName) |
| Create a new trim part component in the work part. | |
| NXOpen::Assemblies::Component * | CreateNewComponent (const char *partName, const char *instanceName) |
| Create a new trim part component in the work part. | |
| int | NewSurfaceLayer () |
| Returns the layer where the new trim surface is created. | |
| void | SetNewSurfaceLayer (int newSurfaceLayer) |
| Sets the layer where the new trim surface is created. | |
| void | SetTrimDataDetails (NXOpen::NXObject *trimPart, NXOpen::NXObject *sourceObjectOcc, const NXString ¤tTrimSurfaceName, const NXString &previousTrimSurfaceName) |
| Set details of the trim data. | |
| void | SetTrimDataDetails (NXOpen::NXObject *trimPart, NXOpen::NXObject *sourceObjectOcc, const char *currentTrimSurfaceName, const char *previousTrimSurfaceName) |
| Set details of the trim data. | |
| NXOpen::SelectNXObject * | SourceObject () |
| Returns the face or sheet body. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a builder to be used to create Mold Wizard design trim tool.
To create a new instance of this class, use Tooling::DesignTrimToolCollection::CreateDesignTrimToolBuilder
Default values.
| Property | Value |
|---|---|
|
NewSurfaceLayer |
32 |
Created in NX7.5.0.
| 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.
| surfaceName | the name for the default sheet to create. NOTE: The full Unicode character set is not supported for this parameter. |
| trimPart | the trim part where to create the default trim surface feature. |
| sheetType | the sheet type, parting sheet or mold surface. |
| layer | the 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.
| surfaceName | the name for the default sheet to create. NOTE: The full Unicode character set is not supported for this parameter. |
| trimPart | the trim part where to create the default trim surface feature. |
| sheetType | the sheet type, parting sheet or mold surface. |
| layer | the 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.
| partName | the part name for the new component. NOTE: The full Unicode character set is not supported for this parameter. |
| instanceName | the instance name for the new component. NOTE: The full Unicode character set is not supported for this parameter. |
| NXOpen::Assemblies::Component* NXOpen::Tooling::DesignTrimToolBuilder::CreateNewComponent | ( | const char * | partName, |
| const char * | instanceName | ||
| ) |
Create a new trim part component in the work part.
| partName | the part name for the new component. NOTE: The full Unicode character set is not supported for this parameter. |
| instanceName | the instance name for the new component. NOTE: The full Unicode character set is not supported for this parameter. |
| 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
| newSurfaceLayer | newsurfacelayer |
| 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
| trimPart | the trim part where to create or edit or trim surface feature. |
| sourceObjectOcc | the source object occurrence used to create a linked feature in the trim part. |
| currentTrimSurfaceName | the name to set to the trim surface feature. NOTE: The full Unicode character set is not supported for this parameter. |
| previousTrimSurfaceName | the previous name of the trim surface feature. NOTE: The full Unicode character set is not supported for this parameter. |
| 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
| trimPart | the trim part where to create or edit or trim surface feature. |
| sourceObjectOcc | the source object occurrence used to create a linked feature in the trim part. |
| currentTrimSurfaceName | the name to set to the trim surface feature. NOTE: The full Unicode character set is not supported for this parameter. |
| previousTrimSurfaceName | the previous name of the trim surface feature. NOTE: The full Unicode character set is not supported for this parameter. |
| NXOpen::SelectNXObject* NXOpen::Tooling::DesignTrimToolBuilder::SourceObject | ( | ) |
Returns the face or sheet body.
Created in NX7.5.0.
License requirements : None