ExpressionFunctionBuilder Class¶
-
class
NXOpen.Motion.ExpressionFunctionBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents 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. |
| Profile | Returns the Profile. |
| 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 Expression when a constant expression is used or Function when a spline curve is used or Profile when a profile is used. |
Property Detail¶
DataType¶
-
ExpressionFunctionBuilder.DataType¶ Returns or sets the type.
-------------------------------------Getter Method
Signature
DataTypeReturns: Return type: NXOpen.Motion.ExpressionFunctionBuilderTypeNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
DataTypeParameters: 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
ExpressionReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Function¶
-
ExpressionFunctionBuilder.Function¶ Returns or sets the Function.
-------------------------------------Getter Method
Signature
FunctionReturns: Return type: NXOpen.Motion.MotionFunctionNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
FunctionParameters: func ( NXOpen.Motion.MotionFunction) –New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Profile¶
-
ExpressionFunctionBuilder.Profile¶ Returns the Profile.
-------------------------------------Getter Method
Signature
ProfileReturns: Return type: NXOpen.Motion.SelectFieldDataNew in version NX12.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.