FeatureOptions Class

class NXOpen.GeometricUtilities.FeatureOptions

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents various options supported on features.

New in version NX4.0.0.

Properties

Property Description
BodyType Returns or sets the body type
Tag Returns the Tag for this object.

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

FeatureOptionsBodyStyle Enumeration This enum represents the various body types

Property Detail

BodyType

FeatureOptions.BodyType

Returns or sets the body type

-------------------------------------

Getter Method

Signature BodyType

Returns:body type
Return type:NXOpen.GeometricUtilities.FeatureOptionsBodyStyle

New in version NX4.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature BodyType

Parameters:type (NXOpen.GeometricUtilities.FeatureOptionsBodyStyle) – body type

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Method Detail

Validate

FeatureOptions.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.