EnumTest Class¶
-
class
NXOpen.GeometricUtilities.EnumTest¶ Bases:
NXOpen.BuilderRepresents a
GeometricUtilities.EnumTestNew in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AnimalsIconOnly | Returns or sets the animals icon only |
| CarsIconTextMenu | Returns or sets the cars icon text menu |
| ConstraintsPalette | Returns or sets the constraints palette |
| CurvesPalette | Returns or sets the curves palette |
| DancesHorizontalRadio | Returns or sets the dances horizontal radio |
| FruitTextOnly | Returns or sets the fruit text only |
| Tag | Returns the Tag for this object. |
| TreesVerticalRadio | Returns or sets the trees vertical radio |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| EnumTestAnimals Enumeration | Animals are healthy and taste good |
| EnumTestCars Enumeration | Cars are dangerous to eat and not very tasty |
| EnumTestConstraints Enumeration | constraints are rather smelly |
| EnumTestCurves Enumeration | Curves are important |
| EnumTestDances Enumeration | Daaance, dance the night away |
| EnumTestFruit Enumeration | Fruit is healthy and tastes good |
| EnumTestTrees Enumeration | Trees can taste pretty good but have a rather barky texture |
Property Detail¶
AnimalsIconOnly¶
-
EnumTest.AnimalsIconOnly¶ Returns or sets the animals icon only
-------------------------------------Getter Method
Signature
AnimalsIconOnlyReturns: Return type: NXOpen.GeometricUtilities.EnumTestAnimalsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AnimalsIconOnlyParameters: animalsIconOnly ( NXOpen.GeometricUtilities.EnumTestAnimals) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ConstraintsPalette¶
-
EnumTest.ConstraintsPalette¶ Returns or sets the constraints palette
-------------------------------------Getter Method
Signature
ConstraintsPaletteReturns: Return type: NXOpen.GeometricUtilities.EnumTestConstraintsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConstraintsPaletteParameters: constraintsPalette ( NXOpen.GeometricUtilities.EnumTestConstraints) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CurvesPalette¶
-
EnumTest.CurvesPalette¶ Returns or sets the curves palette
-------------------------------------Getter Method
Signature
CurvesPaletteReturns: Return type: NXOpen.GeometricUtilities.EnumTestCurvesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CurvesPaletteParameters: curvesPalette ( NXOpen.GeometricUtilities.EnumTestCurves) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
DancesHorizontalRadio¶
-
EnumTest.DancesHorizontalRadio¶ Returns or sets the dances horizontal radio
-------------------------------------Getter Method
Signature
DancesHorizontalRadioReturns: Return type: NXOpen.GeometricUtilities.EnumTestDancesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DancesHorizontalRadioParameters: dancesHorizontalRadio ( NXOpen.GeometricUtilities.EnumTestDances) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
FruitTextOnly¶
-
EnumTest.FruitTextOnly¶ Returns or sets the fruit text only
-------------------------------------Getter Method
Signature
FruitTextOnlyReturns: Return type: NXOpen.GeometricUtilities.EnumTestFruitNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FruitTextOnlyParameters: fruitTextOnly ( NXOpen.GeometricUtilities.EnumTestFruit) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
TreesVerticalRadio¶
-
EnumTest.TreesVerticalRadio¶ Returns or sets the trees vertical radio
-------------------------------------Getter Method
Signature
TreesVerticalRadioReturns: Return type: NXOpen.GeometricUtilities.EnumTestTreesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TreesVerticalRadioParameters: treesVerticalRadio ( NXOpen.GeometricUtilities.EnumTestTrees) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Validate¶
-
EnumTest.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.