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

The Create Feature Process Builder class creates operations and features groups
To create a new instance of this class, use NXOpen::CAM::CAMSetup::CreateFeatureProcessBuilder
Default values. More...

Inheritance diagram for NXOpen::CAM::FeatureProcessBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType FeatureGrouping ()
 Returns the way features are grouped in feature processes
Created in NX7.5.0. More...
 
NXString GetGeometryLocation ()
 Returns the name of the geometry location of the generated feature processes. More...
 
void GetRuleLibraries (std::vector< NXString > &ruleLibraries)
 Gets the active rule libraries
Created in NX7.5.0. More...
 
void GetTemplate (NXString *activeTemplate, NXString *featureProcesTemplate)
 Gets the template name and the feature process template
Created in NX7.5.0. More...
 
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. More...
 
void SetFeatureGrouping (NXOpen::CAM::FeatureProcessBuilder::FeatureGroupingType featureGrouping)
 Sets the way features are grouped in feature processes
Created in NX7.5.0. More...
 
void SetGeometryLocation (const NXString &geometryLocation)
 Returns the name of the geometry location of the generated feature processes
Created in NX7.5.0. More...
 
void SetGeometryLocation (const char *geometryLocation)
 Returns the name of the geometry location of the generated feature processes
Created in NX7.5.0. More...
 
void SetRuleLibraries (std::vector< NXString > &ruleLibraries)
 Sets the active rule libraries
Created in NX7.5.0. More...
 
void SetTemplate (const NXString &activeTemplate, const NXString &featureProcesTemplate)
 Sets the active template name and the feature process template
Created in NX7.5.0. More...
 
void SetTemplate (const char *activeTemplate, const char *featureProcesTemplate)
 Sets the active template name and the feature process template
Created in NX7.5.0. More...
 
void SetType (NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType type)
 Sets the type of feature process creation
Created in NX7.5.0. More...
 
NXOpen::CAM::FeatureProcessBuilder::FeatureProcessType Type ()
 Returns the type of feature process creation
Created in NX7.5.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

The Create Feature Process Builder class creates operations and features groups
To create a new instance of this class, use NXOpen::CAM::CAMSetup::CreateFeatureProcessBuilder
Default values.

Property Value

FeatureGrouping

UseExisting

Type

RuleBased


Created in NX7.5.0.

Member Enumeration Documentation

Determines how features are allocated to feature groups.

Enumerator
FeatureGroupingTypeAlwaysCreateNew 

Always create a new feature group.

FeatureGroupingTypePerFeature 

Create a feature group per feature.

FeatureGroupingTypeUseExisting 

Try to use existing feature groups.

Type of creation.

Enumerator
FeatureProcessTypeRuleBased 

Rule based operation creation.

FeatureProcessTypeTemplateBased 

Template based operation creation.

Member Function Documentation

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.

Returns
List with created operations,
Created in NX7.5.0.

License requirements : ug_holemaking ("UG Holemaking")
Parameters
featuresThe manufacturing features
resultStatusResult 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.

Returns
The parent group
Created in NX7.5.0.

License requirements : ug_holemaking ("UG Holemaking")
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")

Parameters
ruleLibrariesrulelibraries
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")

Parameters
activeTemplatethe template used
featureProcesTemplatethe 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.

Returns
List with created operations,
Created in NX8.0.0.

License requirements : ug_holemaking ("UG Holemaking")
Parameters
groupsThe feature groups
resultStatusResult 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")

Parameters
featureGroupingfeaturegrouping
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")

Parameters
geometryLocationThe 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")

Parameters
geometryLocationThe 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")

Parameters
ruleLibrariesrulelibraries
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")

Parameters
activeTemplatethe template used
featureProcesTemplatethe 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")

Parameters
activeTemplatethe template used
featureProcesTemplatethe 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")

Parameters
typetype
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")


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