NX Open C++ Reference Guide
|
Represents a feature geometry builder
This is an abstract class and cannot be instantiated.
More...
Public Types | |
enum | SequenceDirectionType { SequenceDirectionTypeXm, SequenceDirectionTypeYm, SequenceDirectionTypeZm, SequenceDirectionTypeVector } |
the direction types Created in NX9.0.2. More... | |
enum | SequencePatternType { SequencePatternTypeZig, SequencePatternTypeZigZag } |
the pattern types Created in NX9.0.2. More... | |
enum | SortOrder { SortOrderClosest, SortOrderShortestPath, SortOrderPrimaryDirection } |
the optimization types Created in NX9.0.1. More... | |
Public Member Functions | |
NXOpen::CAM::FBM::FeatureSet * | AddFeatureSet (NXOpen::CAM::CAMFeature *tagMachiningFeature, const NXString &featureType) |
Creates a feature geometry set. More... | |
NXOpen::CAM::FBM::FeatureSet * | AddFeatureSet (NXOpen::CAM::CAMFeature *tagMachiningFeature, const char *featureType) |
Creates a feature geometry set. More... | |
std::vector < NXOpen::CAM::FBM::Feature * > | CreateFeatures (const std::vector< NXOpen::NXObject * > &objects, const NXString &featureType) |
Create a series of (in process) features. More... | |
std::vector < NXOpen::CAM::FBM::Feature * > | CreateFeatures (const std::vector< NXOpen::NXObject * > &objects, const char *featureType) |
Create a series of (in process) features. More... | |
NXOpen::CAM::FBM::FeatureSet * | CreateFeatureSet () |
Create a new empty feature editor. More... | |
NXOpen::CAM::FBM::FeatureSet * | GetFeatureSet (int nIndex) |
Get the in process feature editor at the specified index. More... | |
NXString | GetMachiningArea () |
Returns the machining area. More... | |
void | ReloadList () |
Reload list from parent Created in NX9.0.2. More... | |
void | ReorderFeatures (NXOpen::CAM::FBM::FeatureGeometry::SortOrder sortType) |
Reorders the features according to a predefined algorithm Created in NX9.0.1. More... | |
void | ReorderFeaturesByDirection (NXOpen::CAM::FBM::FeatureGeometry::SequenceDirectionType direction, NXOpen::CAM::FBM::FeatureGeometry::SequencePatternType pattern, const NXOpen::Vector3d &vecValue) |
Reorders the features according to primary direction Created in NX9.0.2. More... | |
void | ReorderFeaturesByDirection (NXOpen::CAM::FBM::FeatureGeometry::SequenceDirectionType direction, NXOpen::CAM::FBM::FeatureGeometry::SequencePatternType pattern, const NXOpen::Vector3d &vecValue, double bandWidth) |
Reorders the features according to primary direction with band width Created in NX9.0.3. More... | |
void | ReverseFeatures () |
Reverse the features Created in NX9.0.2. More... | |
void | SetDefaultAttribute (const NXString &attributeName, double dValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const char *attributeName, double dValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const NXString &attributeName, const NXString &strValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const char *attributeName, const char *strValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const NXString &attributeName, int nValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const char *attributeName, int nValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const NXString &attributeName, bool bValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetDefaultAttribute (const char *attributeName, bool bValue) |
Sets a default attribute value Created in NX9.0.1. More... | |
void | SetMachiningArea (const NXString &machiningArea) |
Change machining area Created in NX9.0.2. More... | |
void | SetMachiningArea (const char *machiningArea) |
Change machining area Created in NX9.0.2. More... | |
void | SetUseModelDepth (bool flag) |
Sets the use model depth flag Created in NX11.0.2. More... | |
bool | UseModelDepth () |
Returns the use model depth flag Created in NX11.0.2. More... | |
Public Member Functions inherited from NXOpen::CAM::Geometry | |
NXOpen::CAM::GeometrySet * | AppendGeometrySet (NXOpen::CAM::GeometrySet *templateSet, const std::vector< NXOpen::DisplayableObject * > &entities) |
Append an geometry set with dumb rules. More... | |
void | AppendNamedGeometry (const std::vector< NXOpen::ScCollector * > &namedGeometry) |
Append named geometry Created in NX9.0.3. More... | |
NXOpen::CAM::GeometrySet * | CreateGeometrySet () |
Create an empty geometry set. More... | |
void | ExpandSets (const std::vector< NXOpen::CAM::GeometrySet * > &sets) |
Expanding the geometry sets Created in NX8.0.0. More... | |
NXOpen::CAM::GeometrySetList * | GeometryList () |
Returns the geometry list Created in NX8.0.0. More... | |
void | InitializeData (bool reloadGeometry) |
Prepare and update geometry data Created in NX8.0.0. More... | |
void | PreselectGeometry () |
Pre-select the wall geometry Created in NX8.0.0. More... | |
NXOpen::CAM::Topology * | Topology () |
Returns the topology builder Created in NX8.0.0. 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... | |
Represents a feature geometry builder
This is an abstract class and cannot be instantiated.
Created in NX9.0.1.
NXOpen::CAM::FBM::FeatureSet* NXOpen::CAM::FBM::FeatureGeometry::AddFeatureSet | ( | NXOpen::CAM::CAMFeature * | tagMachiningFeature, |
const NXString & | featureType | ||
) |
Creates a feature geometry set.
tagMachiningFeature | the machining feature |
featureType | the in process feature type |
NXOpen::CAM::FBM::FeatureSet* NXOpen::CAM::FBM::FeatureGeometry::AddFeatureSet | ( | NXOpen::CAM::CAMFeature * | tagMachiningFeature, |
const char * | featureType | ||
) |
Creates a feature geometry set.
tagMachiningFeature | the machining feature |
featureType | the in process feature type |
std::vector<NXOpen::CAM::FBM::Feature *> NXOpen::CAM::FBM::FeatureGeometry::CreateFeatures | ( | const std::vector< NXOpen::NXObject * > & | objects, |
const NXString & | featureType | ||
) |
Create a series of (in process) features.
Depending on the input objects feature recognition is performed. When no known features can be recognized, tagged features are created of type featureType
objects | the geometry objects, can also be machining features |
featureType | the machining feature type of the implictly created features when feature recognition fails |
std::vector<NXOpen::CAM::FBM::Feature *> NXOpen::CAM::FBM::FeatureGeometry::CreateFeatures | ( | const std::vector< NXOpen::NXObject * > & | objects, |
const char * | featureType | ||
) |
Create a series of (in process) features.
Depending on the input objects feature recognition is performed. When no known features can be recognized, tagged features are created of type featureType
objects | the geometry objects, can also be machining features |
featureType | the machining feature type of the implictly created features when feature recognition fails |
NXOpen::CAM::FBM::FeatureSet* NXOpen::CAM::FBM::FeatureGeometry::CreateFeatureSet | ( | ) |
Create a new empty feature editor.
NXOpen::CAM::FBM::FeatureSet* NXOpen::CAM::FBM::FeatureGeometry::GetFeatureSet | ( | int | nIndex | ) |
Get the in process feature editor at the specified index.
nIndex | the index of the feature set editor |
NXString NXOpen::CAM::FBM::FeatureGeometry::GetMachiningArea | ( | ) |
Returns the machining area.
void NXOpen::CAM::FBM::FeatureGeometry::ReloadList | ( | ) |
Reload list from parent
Created in NX9.0.2.
License requirements : cam_base ("CAM BASE")
void NXOpen::CAM::FBM::FeatureGeometry::ReorderFeatures | ( | NXOpen::CAM::FBM::FeatureGeometry::SortOrder | sortType | ) |
Reorders the features according to a predefined algorithm
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
sortType | sorttype |
void NXOpen::CAM::FBM::FeatureGeometry::ReorderFeaturesByDirection | ( | NXOpen::CAM::FBM::FeatureGeometry::SequenceDirectionType | direction, |
NXOpen::CAM::FBM::FeatureGeometry::SequencePatternType | pattern, | ||
const NXOpen::Vector3d & | vecValue | ||
) |
Reorders the features according to primary direction
Created in NX9.0.2.
License requirements : cam_base ("CAM BASE")
direction | direction |
pattern | pattern |
vecValue | vecvalue |
void NXOpen::CAM::FBM::FeatureGeometry::ReorderFeaturesByDirection | ( | NXOpen::CAM::FBM::FeatureGeometry::SequenceDirectionType | direction, |
NXOpen::CAM::FBM::FeatureGeometry::SequencePatternType | pattern, | ||
const NXOpen::Vector3d & | vecValue, | ||
double | bandWidth | ||
) |
Reorders the features according to primary direction with band width
Created in NX9.0.3.
License requirements : cam_base ("CAM BASE")
direction | direction |
pattern | pattern |
vecValue | vecvalue |
bandWidth | bandwidth |
void NXOpen::CAM::FBM::FeatureGeometry::ReverseFeatures | ( | ) |
Reverse the features
Created in NX9.0.2.
License requirements : cam_base ("CAM BASE")
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const NXString & | attributeName, |
double | dValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
dValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const char * | attributeName, |
double | dValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
dValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const NXString & | attributeName, |
const NXString & | strValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
strValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const char * | attributeName, |
const char * | strValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
strValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const NXString & | attributeName, |
int | nValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
nValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const char * | attributeName, |
int | nValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
nValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const NXString & | attributeName, |
bool | bValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
bValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetDefaultAttribute | ( | const char * | attributeName, |
bool | bValue | ||
) |
Sets a default attribute value
Created in NX9.0.1.
License requirements : cam_base ("CAM BASE")
attributeName | the attribute name |
bValue | the attribute value |
void NXOpen::CAM::FBM::FeatureGeometry::SetMachiningArea | ( | const NXString & | machiningArea | ) |
Change machining area
Created in NX9.0.2.
License requirements : cam_base ("CAM BASE")
machiningArea | the machining area |
void NXOpen::CAM::FBM::FeatureGeometry::SetMachiningArea | ( | const char * | machiningArea | ) |
Change machining area
Created in NX9.0.2.
License requirements : cam_base ("CAM BASE")
machiningArea | the machining area |
void NXOpen::CAM::FBM::FeatureGeometry::SetUseModelDepth | ( | bool | flag | ) |
Sets the use model depth flag
Created in NX11.0.2.
License requirements : cam_base ("CAM BASE")
flag | flag |
bool NXOpen::CAM::FBM::FeatureGeometry::UseModelDepth | ( | ) |
Returns the use model depth flag
Created in NX11.0.2.
License requirements : None