GanttOperationConditionBuilder Class¶
-
class
NXOpen.Mechatronics.
GanttOperationConditionBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Mechatronics.GanttOperationConditionBuilder
To create a new instance of this class, use
NXOpen.Mechatronics.GanttCollection.CreateGanttOperationConditionBuilder()
New in version NX7.5.1.
Properties¶
Property | Description |
---|---|
Condition | Returns or sets the judging condition from current condition,the value can be ‘And’ or ‘Or’ |
ConditionId | Returns or sets the id of condition |
ConditionValue | Returns or sets the condition value use to evaluate this condition for the selected property in condition object |
ExpressionValue | Returns the expression value for double and interger parameters |
Index | Returns or sets the sequence number of condition |
IsGroup | Returns or sets the condition type, if the condition is a group, the value is ‘true’ |
ObjectValue | Returns or sets the condition value use to evaluate this condition for the selected property in condition object. |
OperatorValue | Returns or sets the operator of current condition |
ParentId | Returns or sets the parent id of condition |
PhysicsObject | Returns or sets the conditin object :it can be a physics object(Rigid Body, Collision, Constraints, Joints etc. |
PropertyId | Returns or sets the selected property id in physics object |
PropertyName | Returns or sets the name of selected property |
SignalObject | Returns or sets the signal use to evaluate this condition for the selected property in condition object. |
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. |
PutExpressionValue | Set the expression value for double and interger parameters |
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. |
Property Detail¶
Condition¶
-
GanttOperationConditionBuilder.
Condition
¶ Returns or sets the judging condition from current condition,the value can be ‘And’ or ‘Or’
-------------------------------------
Getter Method
Signature
Condition
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
Condition
Parameters: strCondition (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ConditionId¶
-
GanttOperationConditionBuilder.
ConditionId
¶ Returns or sets the id of condition
-------------------------------------
Getter Method
Signature
ConditionId
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
ConditionId
Parameters: id (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ConditionValue¶
-
GanttOperationConditionBuilder.
ConditionValue
¶ Returns or sets the condition value use to evaluate this condition for the selected property in condition object
-------------------------------------
Getter Method
Signature
ConditionValue
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
ConditionValue
Parameters: strValue (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ExpressionValue¶
-
GanttOperationConditionBuilder.
ExpressionValue
¶ Returns the expression value for double and interger parameters
-------------------------------------
Getter Method
Signature
ExpressionValue
Returns: Return type: NXOpen.Expression
New in version NX10.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Index¶
-
GanttOperationConditionBuilder.
Index
¶ Returns or sets the sequence number of condition
-------------------------------------
Getter Method
Signature
Index
Returns: Return type: int New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
Index
Parameters: ind (int) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
IsGroup¶
-
GanttOperationConditionBuilder.
IsGroup
¶ Returns or sets the condition type, if the condition is a group, the value is ‘true’
-------------------------------------
Getter Method
Signature
IsGroup
Returns: Return type: bool New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
IsGroup
Parameters: isGroup (bool) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ObjectValue¶
-
GanttOperationConditionBuilder.
ObjectValue
¶ Returns or sets the condition value use to evaluate this condition for the selected property in condition object.
If selected property value type is not object, this property should be null, it can be a physics object(Rigid Body, Collision, Constraints, Joints etc.), Function Table, Material etc.
-------------------------------------
Getter Method
Signature
ObjectValue
Returns: Return type: NXOpen.NXObject
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
ObjectValue
Parameters: objValue ( NXOpen.NXObject
) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
OperatorValue¶
-
GanttOperationConditionBuilder.
OperatorValue
¶ Returns or sets the operator of current condition
-------------------------------------
Getter Method
Signature
OperatorValue
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
OperatorValue
Parameters: strOperator (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
ParentId¶
-
GanttOperationConditionBuilder.
ParentId
¶ Returns or sets the parent id of condition
-------------------------------------
Getter Method
Signature
ParentId
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
ParentId
Parameters: parentId (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
PhysicsObject¶
-
GanttOperationConditionBuilder.
PhysicsObject
¶ Returns or sets the conditin object :it can be a physics object(Rigid Body, Collision, Constraints, Joints etc.
), FunctionTable.
-------------------------------------
Getter Method
Signature
PhysicsObject
Returns: Return type: NXOpen.NXObject
New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
PhysicsObject
Parameters: physObj ( NXOpen.NXObject
) –New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
PropertyId¶
-
GanttOperationConditionBuilder.
PropertyId
¶ Returns or sets the selected property id in physics object
-------------------------------------
Getter Method
Signature
PropertyId
Returns: Return type: int New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
PropertyId
Parameters: prop (int) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
PropertyName¶
-
GanttOperationConditionBuilder.
PropertyName
¶ Returns or sets the name of selected property
-------------------------------------
Getter Method
Signature
PropertyName
Returns: Return type: str New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
PropertyName
Parameters: name (str) – New in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
SignalObject¶
-
GanttOperationConditionBuilder.
SignalObject
¶ Returns or sets the signal use to evaluate this condition for the selected property in condition object.
-------------------------------------
Getter Method
Signature
SignalObject
Returns: Return type: NXOpen.NXObject
New in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
-------------------------------------
Setter Method
Signature
SignalObject
Parameters: signalObj ( NXOpen.NXObject
) –New in version NX11.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Method Detail¶
PutExpressionValue¶
-
GanttOperationConditionBuilder.
PutExpressionValue
¶ Set the expression value for double and interger parameters
Signature
PutExpressionValue(exp)
Parameters: exp ( NXOpen.Expression
) –New in version NX10.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
Validate¶
-
GanttOperationConditionBuilder.
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.