Extend Class¶
-
class
NXOpen.GeometricUtilities.Extend¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents an extend data.
Inputs to this class can be convergent objects.
New in version NX3.0.1.
Properties¶
| Property | Description |
|---|---|
| Tag | Returns the Tag for this object. |
| Target | Returns or sets the extend target for the following types NXOpen.GeometricUtilities.ExtendExtendType.UntilSelected. |
| TrimType | Returns or sets the extend type NXOpen.GeometricUtilities.ExtendExtendType. |
| Value | Returns the extend value for the following type NXOpen.GeometricUtilities.ExtendExtendType.Value. |
Methods¶
| Method | Description |
|---|---|
| SetValue | Set extend value for the following type NXOpen.GeometricUtilities.ExtendExtendType.Value. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| ExtendExtendType Enumeration | This enum represents the type of extend |
Property Detail¶
Target¶
-
Extend.Target¶ Returns or sets the extend target for the following types
NXOpen.GeometricUtilities.ExtendExtendType.UntilSelected.NXOpen.GeometricUtilities.ExtendExtendType.UntilExtended.NXOpen.GeometricUtilities.ExtendExtendType.UntilNext.-------------------------------------Getter Method
Signature
TargetReturns: For NXOpen.GeometricUtilities.ExtendExtendType.UntilSelectedit can be face, solid body,sheet body and datums. :rtype:
NXOpen.DisplayableObjectNew in version NX3.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
TargetParameters: selectedObject ( NXOpen.DisplayableObject) – ForNXOpen.GeometricUtilities.ExtendExtendType.UntilSelectedit can be face, solid body,sheet body and datums.New in version NX3.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”)
TrimType¶
-
Extend.TrimType¶ Returns or sets the extend type
NXOpen.GeometricUtilities.ExtendExtendType.-------------------------------------Getter Method
Signature
TrimTypeReturns: Return type: NXOpen.GeometricUtilities.ExtendExtendTypeNew in version NX3.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
TrimTypeParameters: extendType ( NXOpen.GeometricUtilities.ExtendExtendType) –New in version NX3.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”)
Value¶
-
Extend.Value¶ Returns the extend value for the following type
NXOpen.GeometricUtilities.ExtendExtendType.Value.-------------------------------------Getter Method
Signature
ValueReturns: For NXOpen.GeometricUtilities.ExtendExtendType.ValueReturn type: NXOpen.ExpressionNew in version NX3.0.1.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
SetValue¶
-
Extend.SetValue¶ Set extend value for the following type
NXOpen.GeometricUtilities.ExtendExtendType.Value.Signature
SetValue(valueExpression)Parameters: valueExpression (str) – For NXOpen.GeometricUtilities.ExtendExtendType.ValueNew in version NX3.0.1.
Deprecated since version NX8.5.0: To set the value of the expression modify the expression directly using
GeometricUtilities.Extend.Value()andExpression.RightHandSide().License requirements: solid_modeling (“SOLIDS MODELING”)
Validate¶
-
Extend.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.