Class FeatureTeaching
Inheritance
System.Object
System.MarshalByRefObject
FeatureTeaching
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.CAM
Assembly: NXOpen.dll
Syntax
public class FeatureTeaching : Builder, IMessageSink, IComponentBuilder
Constructors
FeatureTeaching()
Declaration
protected FeatureTeaching()
Properties
RuleMatchOptions
Declaration
public FeatureTeaching.RuleMatchOptionType RuleMatchOptions { get; set; }
Property Value
Type | Description |
---|---|
FeatureTeaching.RuleMatchOptionType |
Methods
AddNewFeatureType(String, String)
Declaration
public void AddNewFeatureType(string name, string superName)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | superName |
AddNewRule(String, String, String)
Declaration
public void AddNewRule(string name, string libraryPath, string featureTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | libraryPath | |
System.String | featureTypeName |
GetFaces()
Declaration
public DisplayableObject[] GetFaces()
Returns
Type | Description |
---|---|
DisplayableObject[] |
GetRulePath()
Declaration
public string GetRulePath()
Returns
Type | Description |
---|---|
System.String |
RemoveFeatureType(String)
Declaration
public void RemoveFeatureType(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
RemoveRule(String)
Declaration
public void RemoveRule(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
RenameFeatureType(String, String)
Declaration
public void RenameFeatureType(string name, string newName)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | newName |
RenameRule(String, String)
Declaration
public void RenameRule(string path, string newName)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | |
System.String | newName |
SetFaces(DisplayableObject[])
Declaration
public void SetFaces(DisplayableObject[] aFaces)
Parameters
Type | Name | Description |
---|---|---|
DisplayableObject[] | aFaces |
SetRulePath(String)
Declaration
public void SetRulePath(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
Teach()
Declaration
public void Teach()
Test()
Declaration
public CAMFeature[] Test()
Returns
Type | Description |
---|---|
CAMFeature[] |
Implements
System.Runtime.Remoting.Messaging.IMessageSink