ExtensionBuilder Class¶
-
class
NXOpen.Features.
ExtensionBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.Extension
builderTo create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateExtensionBuilder()
Default values.
Property Value DistanceType ByLength ExtendType Tangential Length.Value 10 (millimeters part), 1 (inches part) Percent.Value 10 (millimeters part), 1 (inches part) PercentU.Value 10 (millimeters part), 1 (inches part) PercentV.Value 10 (millimeters part), 1 (inches part) New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
DistanceType | Returns or sets the distance type |
ExtendType | Returns or sets the extend type |
Length | Returns the length |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
Percent | Returns the percent |
PercentU | Returns the percent u |
PercentV | Returns the percent v |
Selection | Returns the selection |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Tolerance | Returns or sets the tolerance |
Type | Returns or sets the type |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature |
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. |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
ExtensionBuilderDistance Enumeration | The distance type. |
ExtensionBuilderExtension Enumeration | The extension method. |
ExtensionBuilderTypes Enumeration | The part of the face to extend. |
Property Detail¶
DistanceType¶
-
ExtensionBuilder.
DistanceType
¶ Returns or sets the distance type
-------------------------------------
Getter Method
Signature
DistanceType
Returns: Return type: NXOpen.Features.ExtensionBuilderDistance
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceType
Parameters: distanceType ( NXOpen.Features.ExtensionBuilderDistance
) –New in version NX8.0.0.
License requirements: nx_freeform_2 (“advanced freeform modeling”)
ExtendType¶
-
ExtensionBuilder.
ExtendType
¶ Returns or sets the extend type
-------------------------------------
Getter Method
Signature
ExtendType
Returns: Return type: NXOpen.Features.ExtensionBuilderExtension
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExtendType
Parameters: extendType ( NXOpen.Features.ExtensionBuilderExtension
) –New in version NX8.0.0.
License requirements: nx_freeform_2 (“advanced freeform modeling”)
Length¶
-
ExtensionBuilder.
Length
¶ Returns the length
-------------------------------------
Getter Method
Signature
Length
Returns: Return type: NXOpen.Expression
New in version NX8.0.0.
License requirements: None.
Percent¶
-
ExtensionBuilder.
Percent
¶ Returns the percent
-------------------------------------
Getter Method
Signature
Percent
Returns: Return type: NXOpen.Expression
New in version NX8.0.0.
License requirements: None.
PercentU¶
-
ExtensionBuilder.
PercentU
¶ Returns the percent u
-------------------------------------
Getter Method
Signature
PercentU
Returns: Return type: NXOpen.Expression
New in version NX8.0.0.
License requirements: None.
PercentV¶
-
ExtensionBuilder.
PercentV
¶ Returns the percent v
-------------------------------------
Getter Method
Signature
PercentV
Returns: Return type: NXOpen.Expression
New in version NX8.0.0.
License requirements: None.
Selection¶
-
ExtensionBuilder.
Selection
¶ Returns the selection
-------------------------------------
Getter Method
Signature
Selection
Returns: Return type: NXOpen.SelectNXObject
New in version NX8.0.0.
License requirements: None.
Tolerance¶
-
ExtensionBuilder.
Tolerance
¶ Returns or sets the tolerance
-------------------------------------
Getter Method
Signature
Tolerance
Returns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tolerance
Parameters: tolerance (float) – New in version NX8.0.0.
License requirements: nx_freeform_2 (“advanced freeform modeling”)
Type¶
-
ExtensionBuilder.
Type
¶ Returns or sets the type
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Features.ExtensionBuilderTypes
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: type ( NXOpen.Features.ExtensionBuilderTypes
) –New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR free_form_modeling (“FREE-FORM MODELING”)
Method Detail¶
Validate¶
-
ExtensionBuilder.
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.