NXOpen .NET Reference
12.0.0
|
Represents a FeatureTeaching Builder More...
Public Types | |
enum | RuleMatchOptionType { PmiConds = 1, GeomAttrs, GeomNames = 4, FaceColors = 8 } |
Rule Option types More... | |
Public Member Functions | |
unsafe string | GetRulePath () |
Gets the selected rule path More... | |
unsafe void | SetRulePath (string path) |
Sets the selected rule path More... | |
unsafe NXOpen.DisplayableObject[] | GetFaces () |
Gets the selected faces More... | |
unsafe void | SetFaces (NXOpen.DisplayableObject[] aFaces) |
Sets the selected faces More... | |
unsafe void | AddNewFeatureType (string name, string superName) |
Adds a new feature type More... | |
unsafe void | RemoveFeatureType (string name) |
Removes a feature type More... | |
unsafe void | RenameFeatureType (string name, string newName) |
Renames a feature type More... | |
unsafe void | AddNewRule (string name, string libraryPath, string featureTypeName) |
Adds a new rule More... | |
unsafe void | RemoveRule (string path) |
Removes a rule More... | |
unsafe void | RenameRule (string path, string newName) |
Renames a rule 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... | |
Properties | |
unsafe NXOpen.CAM.FeatureTeaching.RuleMatchOptionType | RuleMatchOptions [get, set] |
Returns or sets the rule options More... | |
Represents a FeatureTeaching Builder
To create a new instance of this class, use NXOpen.CAM.CAMSetup.CreateFeatureTeaching
Created in NX8.0.0
unsafe void NXOpen.CAM.FeatureTeaching.AddNewFeatureType | ( | string | name, |
string | superName | ||
) |
Adds a new feature type
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
name | |
superName |
unsafe void NXOpen.CAM.FeatureTeaching.AddNewRule | ( | string | name, |
string | libraryPath, | ||
string | featureTypeName | ||
) |
Adds a new rule
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
name | |
libraryPath | |
featureTypeName |
unsafe NXOpen.DisplayableObject [] NXOpen.CAM.FeatureTeaching.GetFaces | ( | ) |
Gets the selected faces
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
unsafe string NXOpen.CAM.FeatureTeaching.GetRulePath | ( | ) |
Gets the selected rule path
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
unsafe void NXOpen.CAM.FeatureTeaching.RemoveFeatureType | ( | string | name | ) |
Removes a feature type
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
name |
unsafe void NXOpen.CAM.FeatureTeaching.RemoveRule | ( | string | path | ) |
Removes a rule
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
path |
unsafe void NXOpen.CAM.FeatureTeaching.RenameFeatureType | ( | string | name, |
string | newName | ||
) |
Renames a feature type
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
name | |
newName |
unsafe void NXOpen.CAM.FeatureTeaching.RenameRule | ( | string | path, |
string | newName | ||
) |
Renames a rule
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
path | |
newName |
unsafe void NXOpen.CAM.FeatureTeaching.SetFaces | ( | NXOpen.DisplayableObject[] | aFaces | ) |
Sets the selected faces
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
aFaces |
unsafe void NXOpen.CAM.FeatureTeaching.SetRulePath | ( | string | path | ) |
Sets the selected rule path
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
path |
unsafe void NXOpen.CAM.FeatureTeaching.Teach | ( | ) |
Teaches the new feature
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
unsafe NXOpen.CAM.CAMFeature [] NXOpen.CAM.FeatureTeaching.Test | ( | ) |
Tests the new feature
Created in NX8.0.0
License requirements: fbm_author ("FBM Author")
|
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")