NX Open C++ Reference Guide
|
The Create Feature Process Builder class creates operations and features groups <br> To create a new instance of this class, use @link CAM::CAMSetup::CreateFeatureProcessBuilder CAM::CAMSetup::CreateFeatureProcessBuilder @endlink <br>
Default values. More...
Public Types | |
enum | FeatureGroupingType { FeatureGroupingTypeAlwaysCreateNew, FeatureGroupingTypePerFeature, FeatureGroupingTypeUseExisting } |
Determines how features are allocated to feature groups. More... | |
enum | FeatureProcessType { FeatureProcessTypeRuleBased, FeatureProcessTypeTemplateBased } |
Type of creation. More... | |
Public Member Functions | |
std::vector < NXOpen::CAM::Operation * > | CreateFeatureProcesses (const std::vector< NXOpen::CAM::CAMFeature * > &features, NXOpen::FeatureProcessBuilderStatus **resultStatus) |
Creates operations for a set of features based of the current setting of the builder. | |
NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType | FeatureGrouping () |
Returns the way features are grouped in feature processes Created in NX7.5.0. | |
NXString | GetGeometryLocation () |
Returns the name of the geometry location of the generated feature processes. | |
void | GetRuleLibraries (std::vector< NXString > &ruleLibraries) |
Gets the active rule libraries Created in NX7.5.0. | |
void | GetTemplate (NXString *activeTemplate, NXString *featureProcesTemplate) |
Gets the template name and the feature process template Created in NX7.5.0. | |
std::vector < NXOpen::CAM::Operation * > | RecreateFeatureProcesses (const std::vector< NXOpen::CAM::FeatureGeometryGroup * > &groups, NXOpen::FeatureProcessBuilderStatus **resultStatus) |
Creates operations for a set of features based of the current setting of the builder. | |
void | SetFeatureGrouping (NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType featureGrouping) |
Sets the way features are grouped in feature processes Created in NX7.5.0. | |
void | SetGeometryLocation (const NXString &geometryLocation) |
Returns the name of the geometry location of the generated feature processes Created in NX7.5.0. | |
void | SetGeometryLocation (const char *geometryLocation) |
Returns the name of the geometry location of the generated feature processes Created in NX7.5.0. | |
void | SetRuleLibraries (std::vector< NXString > &ruleLibraries) |
Sets the active rule libraries Created in NX7.5.0. | |
void | SetTemplate (const NXString &activeTemplate, const NXString &featureProcesTemplate) |
Sets the active template name and the feature process template Created in NX7.5.0. | |
void | SetTemplate (const char *activeTemplate, const char *featureProcesTemplate) |
Sets the active template name and the feature process template Created in NX7.5.0. | |
void | SetType (NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType type) |
Sets the type of feature process creation Created in NX7.5.0. | |
NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType | Type () |
Returns the type of feature process creation Created in NX7.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 Create Feature Process Builder class creates operations and features groups <br> To create a new instance of this class, use @link CAM::CAMSetup::CreateFeatureProcessBuilder CAM::CAMSetup::CreateFeatureProcessBuilder @endlink <br>
Default values.
Property | Value |
---|---|
FeatureGrouping |
UseExisting |
Type |
RuleBased |
Created in NX7.5.0.
std::vector<NXOpen::CAM::Operation *> NXOpen::CAM::FeatureProcessBuilder::CreateFeatureProcesses | ( | const std::vector< NXOpen::CAM::CAMFeature * > & | features, |
NXOpen::FeatureProcessBuilderStatus ** | resultStatus | ||
) |
Creates operations for a set of features based of the current setting of the builder.
features | The manufacturing features |
resultStatus | Result status of creating processes. |
NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType NXOpen::CAM::FeatureProcessBuilder::FeatureGrouping | ( | ) |
Returns the way features are grouped in feature processes
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
NXString NXOpen::CAM::FeatureProcessBuilder::GetGeometryLocation | ( | ) |
Returns the name of the geometry location of the generated feature processes.
void NXOpen::CAM::FeatureProcessBuilder::GetRuleLibraries | ( | std::vector< NXString > & | ruleLibraries | ) |
Gets the active rule libraries
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
ruleLibraries | rulelibraries |
void NXOpen::CAM::FeatureProcessBuilder::GetTemplate | ( | NXString * | activeTemplate, |
NXString * | featureProcesTemplate | ||
) |
Gets the template name and the feature process template
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
activeTemplate | the template used |
featureProcesTemplate | the feature process sub type used |
std::vector<NXOpen::CAM::Operation *> NXOpen::CAM::FeatureProcessBuilder::RecreateFeatureProcesses | ( | const std::vector< NXOpen::CAM::FeatureGeometryGroup * > & | groups, |
NXOpen::FeatureProcessBuilderStatus ** | resultStatus | ||
) |
Creates operations for a set of features based of the current setting of the builder.
groups | The feature groups |
resultStatus | Result status of creating processes. |
void NXOpen::CAM::FeatureProcessBuilder::SetFeatureGrouping | ( | NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType | featureGrouping | ) |
Sets the way features are grouped in feature processes
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
featureGrouping | featuregrouping |
void NXOpen::CAM::FeatureProcessBuilder::SetGeometryLocation | ( | const NXString & | geometryLocation | ) |
Returns the name of the geometry location of the generated feature processes
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
geometryLocation | The parent group |
void NXOpen::CAM::FeatureProcessBuilder::SetGeometryLocation | ( | const char * | geometryLocation | ) |
Returns the name of the geometry location of the generated feature processes
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
geometryLocation | The parent group |
void NXOpen::CAM::FeatureProcessBuilder::SetRuleLibraries | ( | std::vector< NXString > & | ruleLibraries | ) |
Sets the active rule libraries
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
ruleLibraries | rulelibraries |
void NXOpen::CAM::FeatureProcessBuilder::SetTemplate | ( | const NXString & | activeTemplate, |
const NXString & | featureProcesTemplate | ||
) |
Sets the active template name and the feature process template
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
activeTemplate | the template used |
featureProcesTemplate | the feature process sub type used |
void NXOpen::CAM::FeatureProcessBuilder::SetTemplate | ( | const char * | activeTemplate, |
const char * | featureProcesTemplate | ||
) |
Sets the active template name and the feature process template
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
activeTemplate | the template used |
featureProcesTemplate | the feature process sub type used |
void NXOpen::CAM::FeatureProcessBuilder::SetType | ( | NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType | type | ) |
Sets the type of feature process creation
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")
type | type |
NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType NXOpen::CAM::FeatureProcessBuilder::Type | ( | ) |
Returns the type of feature process creation
Created in NX7.5.0.
License requirements : ug_holemaking ("UG Holemaking")