ExpressionFunctionBuilder Class

class NXOpen.Motion.ExpressionFunctionBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a ExpressionFunctionBuilder builder

New in version NX11.0.0.

Properties

Property Description
DataType Returns or sets the type.
Expression Returns the Expression of this block
Function Returns or sets the Function.
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

ExpressionFunctionBuilderType Enumeration The block type can be Constant when a constant expression is used or Function when a spline curve is used.

Property Detail

DataType

ExpressionFunctionBuilder.DataType

Returns or sets the type.

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

Getter Method

Signature DataType()

Returns:
Return type:NXOpen.Motion.ExpressionFunctionBuilderType

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)

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

Setter Method

Signature DataType(type)

Parameters:type (NXOpen.Motion.ExpressionFunctionBuilderType) –

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)

Expression

ExpressionFunctionBuilder.Expression

Returns the Expression of this block

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

Getter Method

Signature Expression()

Returns:
Return type:NXOpen.Expression

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)

Function

ExpressionFunctionBuilder.Function

Returns or sets the Function.

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

Getter Method

Signature Function()

Returns:
Return type:NXOpen.Motion.MotionFunction

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)

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

Setter Method

Signature Function(func)

Parameters:func (NXOpen.Motion.MotionFunction) –

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)

Method Detail

Validate

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