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. |
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
DataType
Returns: Return type: NXOpen.Motion.ExpressionFunctionBuilderType
New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
DataType
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
Parameters: func ( NXOpen.Motion.MotionFunction
) –New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Profile¶
-
ExpressionFunctionBuilder.
Profile
¶ Returns the Profile.
-------------------------------------
Getter Method
Signature
Profile
Returns: Return type: NXOpen.Motion.SelectFieldData
New 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.