SignalChartBuilder Class¶
-
class
NXOpen.Motion.SignalChartBuilder¶ Bases:
NXOpen.Motion.MotionBuilderRepresents a
NXOpen.Motion.SignalChartBuilderTo create a new instance of this class, use
NXOpen.Motion.SignalChartCollection.CreateSignalChartBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| ClosedSignalList | Returns the closed siganl list |
| DisplayScale | Returns or sets the icon display scale |
| GroupName | Returns or sets the group name |
| GroupType | Returns or sets the group type |
| InitialSignalExpression | Returns the initial Signal Expression |
| Name | Returns or sets the name |
| OpenSignalFunction | Returns or sets the open signal function |
| SignalChartType | Returns or sets the SignalChart type |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| NewListItemExpression | Creates a new list item including expression |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| SignalChartBuilderType Enumeration | SignalChart type |
Property Detail¶
ClosedSignalList¶
-
SignalChartBuilder.ClosedSignalList¶ Returns the closed siganl list
-------------------------------------Getter Method
Signature
ClosedSignalListReturns: Return type: NXOpen.Motion.SignalChartListItemListNew in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
InitialSignalExpression¶
-
SignalChartBuilder.InitialSignalExpression¶ Returns the initial Signal Expression
-------------------------------------Getter Method
Signature
InitialSignalExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Name¶
-
SignalChartBuilder.Name¶ Returns or sets the name
-------------------------------------Getter Method
Signature
NameReturns: Return type: str New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
NameParameters: name (str) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
OpenSignalFunction¶
-
SignalChartBuilder.OpenSignalFunction¶ Returns or sets the open signal function
-------------------------------------Getter Method
Signature
OpenSignalFunctionReturns: Return type: NXOpen.CAE.FunctionNew in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
OpenSignalFunctionParameters: openSignalFunction ( NXOpen.CAE.Function) –New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
SignalChartType¶
-
SignalChartBuilder.SignalChartType¶ Returns or sets the SignalChart type
-------------------------------------Getter Method
Signature
SignalChartTypeReturns: Return type: NXOpen.Motion.SignalChartBuilderTypeNew in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
SignalChartTypeParameters: signalchartType ( NXOpen.Motion.SignalChartBuilderType) –New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Method Detail¶
NewListItemExpression¶
-
SignalChartBuilder.NewListItemExpression¶ Creates a new list item including expression
Signature
NewListItemExpression(sensor, alwaysEvaluated, timeSensor, condition, threshold, delayTime, signal)Parameters: - sensor (
NXOpen.Motion.MotionSensor) – sensor - alwaysEvaluated (bool) – always evaluted
- timeSensor (int) – time sensor
- condition (int) – condition
- threshold (
NXOpen.Expression) – threshold - delayTime (
NXOpen.Expression) – delay time - signal (
NXOpen.Expression) – signal
Returns: Return type: New in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
- sensor (
Validate¶
-
SignalChartBuilder.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.