Extend Class

class NXOpen.GeometricUtilities.Extend

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents 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 Target

Returns:For NXOpen.GeometricUtilities.ExtendExtendType.UntilSelected

it can be face, solid body,sheet body and datums. :rtype: NXOpen.DisplayableObject

New in version NX3.0.1.

License requirements: None.

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

Setter Method

Signature Target

Parameters:selectedObject (NXOpen.DisplayableObject) – For NXOpen.GeometricUtilities.ExtendExtendType.UntilSelected it 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 TrimType

Returns:
Return type:NXOpen.GeometricUtilities.ExtendExtendType

New in version NX3.0.1.

License requirements: None.

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

Setter Method

Signature TrimType

Parameters: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 Value

Returns:For NXOpen.GeometricUtilities.ExtendExtendType.Value
Return type:NXOpen.Expression

New 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.Value

New 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() and Expression.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.