NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.CAM.FeatureRecognitionBuilder Class Reference

Represents a FeatureRecognition Builder More...

Inheritance diagram for NXOpen.CAM.FeatureRecognitionBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  GeometrySearch { Workpiece, AllGeometry, Selected }
 the geometry search type More...
 
enum  RecognitionEnum {
  Identify, Parametric, Legacy, Generic,
  Manual
}
 the type of feature search More...
 

Public Member Functions

unsafe
NXOpen.CAM.ManualFeatureBuilder 
CreateManualFeatureBuilder ()
 Creates a new manual feature builder More...
 
unsafe void DeleteFeature (NXOpen.CAM.CAMFeature feature)
 Deletes a manufacturing feature that was created through this builder instance More...
 
unsafe NXOpen.CAM.CAMFeature[] FindFeatures ()
 Finds manufacturing features More...
 
unsafe NXOpen.CAM.CAMFeature[] GetFoundFeatures ()
 Returns the found features More...
 
unsafe void GetModelingFeatureTypes (out string[] featureTypes)
 Gets the modeling feature types from the bodies currently set in this builder More...
 
unsafe void GetRegisteredFeatureTypes (out string[] featureTypes)
 Gets the registered feature types More...
 
unsafe NXOpen.DisplayableObject[] GetSearchGeometry ()
 Returns the geometry search More...
 
unsafe NXOpen.CAM.CAMFeature MakeFeature (string featureName, NXOpen.Face[] faces, NXOpen.Face[] wallFaces, bool deleteFeatures)
 Creates a feature based on name, floor and wall faces More...
 
unsafe void SetFeatureTypes (string[] featureTypes)
 Sets the feature types used by the recognizer More...
 
unsafe void SetMachiningAccessDirection (NXOpen.Direction[] vecDirections, double dTolerance)
 Set the machining access direction to exact or approximate vectors More...
 
unsafe void SetMachiningAccessDirection (NXOpen.Point tagPoint, NXOpen.Direction tagAxis, bool bIsTowardAxis)
 Set the machining access direction to toward or away from an axis defined by a point and a vector More...
 
unsafe void SetMachiningAccessDirection (NXOpen.Point focalPt, bool bIsTowardPt)
 Set the machining access direction to toward or away from a point More...
 
unsafe void SetSearchGeometry (NXOpen.DisplayableObject[] objects)
 Sets the geometry to search More...
 
- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe bool AddCadFeatureAttributes [get, set]
 Returns or sets the flag indicating whether features will get attributes added of enclosed modeling features More...
 
unsafe bool AssignColor [get, set]
 Returns or sets the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color More...
 
unsafe bool FeatureMapperEnabled [get]
 Returns the flag indicating if mapping is enabled. More...
 
unsafe NXOpen.ScCollector FloorFaces [get]
 Returns the floor faces More...
 
unsafe
NXOpen.CAM.FeatureRecognitionBuilder.GeometrySearch 
GeometrySearchType [get, set]
 Returns or sets the method of geometry search More...
 
unsafe bool IgnoreExistingFeatures [get, set]
 Returns or sets the flag indicating whether found features are checked agains existing features. More...
 
unsafe bool IgnoreWarnings [get, set]
 Returns or sets the flag indicating whether to ignore warnings while finding features. More...
 
unsafe NXOpen.ScCollector LimitFaces [get]
 Returns the limited set of faces to search in More...
 
unsafe
NXOpen.CAM.ManualFeatureBuilderList 
LstManualFeatures [get]
 Returns the manual feature builder list More...
 
unsafe bool MapFeatures [get, set]
 Returns or sets the flag indicating whether features will be mapped to other features if possible More...
 
unsafe
NXOpen.CAM.FeatureRecognitionBuilder.RecognitionEnum 
RecognitionType [get, set]
 Returns or sets the type of feature search More...
 
unsafe bool UseFeatureNameAsType [get, set]
 Returns or sets the flag indicating whether the feature name will be used as feature type More...
 
unsafe NXOpen.Direction VecDirection [get, set]
 Returns or sets the machining access direction vector More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a FeatureRecognition Builder

To create a new instance of this class, use NXOpen.CAM.CAMSetup.CreateFeatureRecognitionBuilder

Created in NX6.0.0

Member Enumeration Documentation

the geometry search type

Enumerator
Workpiece 

Search for features in workpiece

AllGeometry 

Search for features in all geometry

Selected 

Search for features in user-selected geometry

the type of feature search

Enumerator
Identify 

Feature Identification from modeling features

Parametric 

Parametric Feature Recognition

Legacy 

Legacy Hole Feature Recognition

Generic 

Legacy Face and Pocket Feature Recognition

Manual 

Manual Feature Recognition

Member Function Documentation

unsafe NXOpen.CAM.ManualFeatureBuilder NXOpen.CAM.FeatureRecognitionBuilder.CreateManualFeatureBuilder ( )
inline

Creates a new manual feature builder

Created in NX6.0.0

License requirements: None.

Returns
feature builder
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.DeleteFeature ( NXOpen.CAM.CAMFeature  feature)
inline

Deletes a manufacturing feature that was created through this builder instance

Created in NX7.5.0

License requirements: None.

Parameters
feature
unsafe NXOpen.CAM.CAMFeature [] NXOpen.CAM.FeatureRecognitionBuilder.FindFeatures ( )
inline

Finds manufacturing features

Created in NX7.5.0

License requirements: None.

Returns
The found features
unsafe NXOpen.CAM.CAMFeature [] NXOpen.CAM.FeatureRecognitionBuilder.GetFoundFeatures ( )
inline

Returns the found features

Created in NX7.5.0

License requirements: None.

Returns
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.GetModelingFeatureTypes ( out string[]  featureTypes)
inline

Gets the modeling feature types from the bodies currently set in this builder

Created in NX7.5.0

License requirements: None.

Parameters
featureTypes
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.GetRegisteredFeatureTypes ( out string[]  featureTypes)
inline

Gets the registered feature types

Created in NX6.0.0

License requirements: None.

Parameters
featureTypes
unsafe NXOpen.DisplayableObject [] NXOpen.CAM.FeatureRecognitionBuilder.GetSearchGeometry ( )
inline

Returns the geometry search

Created in NX7.5.0

License requirements: None.

Returns
unsafe NXOpen.CAM.CAMFeature NXOpen.CAM.FeatureRecognitionBuilder.MakeFeature ( string  featureName,
NXOpen.Face[]  faces,
NXOpen.Face[]  wallFaces,
bool  deleteFeatures 
)
inline

Creates a feature based on name, floor and wall faces

Created in NX7.5.0

License requirements: None.

Parameters
featureNamename of new feature
facesfloor faces of new feature
wallFaceswall faces of new feature
deleteFeaturesDeletes previous found features
Returns
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.SetFeatureTypes ( string[]  featureTypes)
inline

Sets the feature types used by the recognizer

Created in NX6.0.0

License requirements: None.

Parameters
featureTypes
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.SetMachiningAccessDirection ( NXOpen.Direction[]  vecDirections,
double  dTolerance 
)
inline

Set the machining access direction to exact or approximate vectors

Created in NX8.0.1

License requirements: None.

Parameters
vecDirections
dTolerance
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.SetMachiningAccessDirection ( NXOpen.Point  tagPoint,
NXOpen.Direction  tagAxis,
bool  bIsTowardAxis 
)
inline

Set the machining access direction to toward or away from an axis defined by a point and a vector

Created in NX8.5.0

License requirements: None.

Parameters
tagPoint
tagAxis
bIsTowardAxis
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.SetMachiningAccessDirection ( NXOpen.Point  focalPt,
bool  bIsTowardPt 
)
inline

Set the machining access direction to toward or away from a point

Created in NX8.0.1

License requirements: None.

Parameters
focalPt
bIsTowardPt
unsafe void NXOpen.CAM.FeatureRecognitionBuilder.SetSearchGeometry ( NXOpen.DisplayableObject[]  objects)
inline

Sets the geometry to search

Created in NX7.5.0

License requirements: None.

Parameters
objects

Property Documentation

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.AddCadFeatureAttributes
getset

Returns or sets the flag indicating whether features will get attributes added of enclosed modeling features

Created in NX7.5.2

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.AssignColor
getset

Returns or sets the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.FeatureMapperEnabled
get

Returns the flag indicating if mapping is enabled.

Only when a valid mapping module is loaded the feature mapper is enabled

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.ScCollector NXOpen.CAM.FeatureRecognitionBuilder.FloorFaces
get

Returns the floor faces

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.CAM.FeatureRecognitionBuilder.GeometrySearch NXOpen.CAM.FeatureRecognitionBuilder.GeometrySearchType
getset

Returns or sets the method of geometry search

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.IgnoreExistingFeatures
getset

Returns or sets the flag indicating whether found features are checked agains existing features.

If this flag is set then features are recognized even if they match existing features.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.IgnoreWarnings
getset

Returns or sets the flag indicating whether to ignore warnings while finding features.

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.ScCollector NXOpen.CAM.FeatureRecognitionBuilder.LimitFaces
get

Returns the limited set of faces to search in

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.CAM.ManualFeatureBuilderList NXOpen.CAM.FeatureRecognitionBuilder.LstManualFeatures
get

Returns the manual feature builder list

Created in NX6.0.0

License requirements: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.MapFeatures
getset

Returns or sets the flag indicating whether features will be mapped to other features if possible

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.CAM.FeatureRecognitionBuilder.RecognitionEnum NXOpen.CAM.FeatureRecognitionBuilder.RecognitionType
getset

Returns or sets the type of feature search

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.CAM.FeatureRecognitionBuilder.UseFeatureNameAsType
getset

Returns or sets the flag indicating whether the feature name will be used as feature type

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Direction NXOpen.CAM.FeatureRecognitionBuilder.VecDirection
getset

Returns or sets the machining access direction vector

Created in NX6.0.0

Deprecated in NX8.5.0. This functionality is no longer supported.

License requirements to get this property: None.

License requirements to set this property: None.


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