GanttOperationBuilder Class¶
-
class
NXOpen.Mechatronics.GanttOperationBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Mechatronics.GanttOperationBuilderbuilderTo create a new instance of this class, use
NXOpen.Mechatronics.GanttCollection.CreateGanttOperationBuilder()New in version NX7.5.1.
Properties¶
| Property | Description |
|---|---|
| ActiveStatus | Returns or sets the active status |
| ConditionList | Returns the condition data |
| Context | Returns or sets the owner part of operation |
| Duration | Returns or sets the operation duration |
| ExpressionDuration | Returns the operation duration expression |
| OperationID | Returns or sets the operation id |
| OperationName | Returns or sets the operation name |
| OperationTypes | Returns or sets the operation type |
| ParameterList | Returns the parameter data |
| ParentID | Returns or sets the parent operation id in sequence editor tree |
| Physics | Returns or sets the input of the operation : it can be a physics object(Rigid Body, Collision, Constraints, Joints etc. |
| StartTime | Returns or sets the start time of operation |
| Tag | Returns the Tag for this object. |
| Type | Returns or sets the type of simple operation. |
Methods¶
| Method | Description |
|---|---|
| AddConditionList | Sets the condition data |
| AddParameterList | Sets the parameter data |
| 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. |
| 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¶
| GanttOperationBuilderOperationType Enumeration | the operation Type enum |
| GanttOperationBuilderSimpleOperationType Enumeration | the pause operation Type enum |
Property Detail¶
ActiveStatus¶
-
GanttOperationBuilder.ActiveStatus¶ Returns or sets the active status
-------------------------------------Getter Method
Signature
ActiveStatusReturns: Return type: bool New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
ActiveStatusParameters: status (bool) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ConditionList¶
-
GanttOperationBuilder.ConditionList¶ Returns the condition data
-------------------------------------Getter Method
Signature
ConditionListReturns: Return type: NXOpen.Mechatronics.GanttOperationConditionBuilderListNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Context¶
-
GanttOperationBuilder.Context¶ Returns or sets the owner part of operation
-------------------------------------Getter Method
Signature
ContextReturns: Return type: NXOpen.BasePartNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
ContextParameters: context ( NXOpen.BasePart) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Duration¶
-
GanttOperationBuilder.Duration¶ Returns or sets the operation duration
-------------------------------------Getter Method
Signature
DurationReturns: Return type: float New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
DurationParameters: duration (float) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ExpressionDuration¶
-
GanttOperationBuilder.ExpressionDuration¶ Returns the operation duration expression
-------------------------------------Getter Method
Signature
ExpressionDurationReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
OperationID¶
-
GanttOperationBuilder.OperationID¶ Returns or sets the operation id
-------------------------------------Getter Method
Signature
OperationIDReturns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
OperationIDParameters: id (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
OperationName¶
-
GanttOperationBuilder.OperationName¶ Returns or sets the operation name
-------------------------------------Getter Method
Signature
OperationNameReturns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
OperationNameParameters: name (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
OperationTypes¶
-
GanttOperationBuilder.OperationTypes¶ Returns or sets the operation type
-------------------------------------Getter Method
Signature
OperationTypesReturns: Return type: NXOpen.Mechatronics.GanttOperationBuilderOperationTypeNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
OperationTypesParameters: type ( NXOpen.Mechatronics.GanttOperationBuilderOperationType) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ParameterList¶
-
GanttOperationBuilder.ParameterList¶ Returns the parameter data
-------------------------------------Getter Method
Signature
ParameterListReturns: Return type: NXOpen.Mechatronics.GanttOperationParameterBuilderListNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ParentID¶
-
GanttOperationBuilder.ParentID¶ Returns or sets the parent operation id in sequence editor tree
-------------------------------------Getter Method
Signature
ParentIDReturns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
ParentIDParameters: parent (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Physics¶
-
GanttOperationBuilder.Physics¶ Returns or sets the input of the operation : it can be a physics object(Rigid Body, Collision, Constraints, Joints etc.
), FunctionTable, part occurrence.
-------------------------------------Getter Method
Signature
PhysicsReturns: Return type: NXOpen.NXObjectNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
PhysicsParameters: physics ( NXOpen.NXObject) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
StartTime¶
-
GanttOperationBuilder.StartTime¶ Returns or sets the start time of operation
-------------------------------------Getter Method
Signature
StartTimeReturns: Return type: float New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------Setter Method
Signature
StartTimeParameters: start (float) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Type¶
-
GanttOperationBuilder.Type¶ Returns or sets the type of simple operation.
-------------------------------------Getter Method
Signature
TypeReturns: Indicates the current type value of the dialog’s types block Return type: NXOpen.Mechatronics.GanttOperationBuilderSimpleOperationTypeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Mechatronics.GanttOperationBuilderSimpleOperationType) – Indicates the type value of the dialog’s types block to be set toNew in version NX9.0.0.
License requirements: None.
Method Detail¶
AddConditionList¶
-
GanttOperationBuilder.AddConditionList¶ Sets the condition data
Signature
AddConditionList(conditions)Parameters: conditions (list of NXOpen.Mechatronics.GanttOperationConditionBuilder) – Input conditionsNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
AddParameterList¶
-
GanttOperationBuilder.AddParameterList¶ Sets the parameter data
Signature
AddParameterList(parameters)Parameters: parameters (list of NXOpen.Mechatronics.GanttOperationParameterBuilder) – Input parametersNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Validate¶
-
GanttOperationBuilder.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.