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.FeatureTeaching Class Reference

Represents a FeatureTeaching Builder More...

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

Public Types

enum  RuleMatchOptionType { PmiConds = 1, GeomAttrs, GeomNames = 4, FaceColors = 8 }
 Rule Option types More...
 

Public Member Functions

unsafe void AddNewFeatureType (string name, string superName)
 Adds a new feature type More...
 
unsafe void AddNewRule (string name, string libraryPath, string featureTypeName)
 Adds a new rule More...
 
unsafe NXOpen.DisplayableObject[] GetFaces ()
 Gets the selected faces More...
 
unsafe string GetRulePath ()
 Gets the selected rule path More...
 
unsafe void RemoveFeatureType (string name)
 Removes a feature type More...
 
unsafe void RemoveRule (string path)
 Removes a rule More...
 
unsafe void RenameFeatureType (string name, string newName)
 Renames a feature type More...
 
unsafe void RenameRule (string path, string newName)
 Renames a rule More...
 
unsafe void SetFaces (NXOpen.DisplayableObject[] aFaces)
 Sets the selected faces More...
 
unsafe void SetRulePath (string path)
 Sets the selected rule path More...
 
unsafe void Teach ()
 Teaches the new feature More...
 
unsafe NXOpen.CAM.CAMFeature[] Test ()
 Tests the new feature 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
NXOpen.CAM.FeatureTeaching.RuleMatchOptionType 
RuleMatchOptions [get, set]
 Returns or sets the rule options 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 FeatureTeaching Builder

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

Created in NX8.0.0

Member Enumeration Documentation

Rule Option types

Enumerator
PmiConds 
GeomAttrs 
GeomNames 
FaceColors 

Member Function Documentation

unsafe void NXOpen.CAM.FeatureTeaching.AddNewFeatureType ( string  name,
string  superName 
)
inline

Adds a new feature type

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
name
superName
unsafe void NXOpen.CAM.FeatureTeaching.AddNewRule ( string  name,
string  libraryPath,
string  featureTypeName 
)
inline

Adds a new rule

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
name
libraryPath
featureTypeName
unsafe NXOpen.DisplayableObject [] NXOpen.CAM.FeatureTeaching.GetFaces ( )
inline

Gets the selected faces

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Returns
unsafe string NXOpen.CAM.FeatureTeaching.GetRulePath ( )
inline

Gets the selected rule path

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Returns
unsafe void NXOpen.CAM.FeatureTeaching.RemoveFeatureType ( string  name)
inline

Removes a feature type

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
name
unsafe void NXOpen.CAM.FeatureTeaching.RemoveRule ( string  path)
inline

Removes a rule

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
path
unsafe void NXOpen.CAM.FeatureTeaching.RenameFeatureType ( string  name,
string  newName 
)
inline

Renames a feature type

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
name
newName
unsafe void NXOpen.CAM.FeatureTeaching.RenameRule ( string  path,
string  newName 
)
inline

Renames a rule

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
path
newName
unsafe void NXOpen.CAM.FeatureTeaching.SetFaces ( NXOpen.DisplayableObject[]  aFaces)
inline

Sets the selected faces

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
aFaces
unsafe void NXOpen.CAM.FeatureTeaching.SetRulePath ( string  path)
inline

Sets the selected rule path

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Parameters
path
unsafe void NXOpen.CAM.FeatureTeaching.Teach ( )
inline

Teaches the new feature

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

unsafe NXOpen.CAM.CAMFeature [] NXOpen.CAM.FeatureTeaching.Test ( )
inline

Tests the new feature

Created in NX8.0.0

License requirements: fbm_author ("FBM Author")

Returns

Property Documentation

unsafe NXOpen.CAM.FeatureTeaching.RuleMatchOptionType NXOpen.CAM.FeatureTeaching.RuleMatchOptions
getset

Returns or sets the rule options

Created in NX8.0.0

License requirements to get this property: fbm_author ("FBM Author")

License requirements to set this property: fbm_author ("FBM Author")


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