GanttOperationParameterBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# GanttOperationParameterBuilder Class

class `NXOpen.Mechatronics.``GanttOperationParameterBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.Mechatronics.GanttOperationParameterBuilder`

  To create a new instance of this class, use `NXOpen.Mechatronics.GanttCollection.CreateGanttOperationParameterBuilder()`

  New in version NX7.5.1.

# Properties

Property | Description
--- | ---
ExpressionValue | Returns the expression value for double and interger parameters
IOStatus | Returns or sets the io status
ObjectValue | Returns or sets the parameter value which will be set to the input physics object during runtime.
Operator | Returns or sets the operator value.
ParameterName | Returns or sets the parameter name
ParameterValue | Returns or sets the parameter value which will be set to the input physics object during runtime.
PropertyId | Returns or sets the id of property in physics 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.

# Enumerations

GanttOperationParameterBuilderOperatorOption Enumeration | the Operator options.

# Property Detail

## ExpressionValue

`GanttOperationParameterBuilder.``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”)

## IOStatus

`GanttOperationParameterBuilder.``IOStatus`

  Returns or sets the io status

  `-------------------------------------`

  Getter Method

  Signature `IOStatus`

  Returns: |
  Return type: | bool

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

  `-------------------------------------`

  Setter Method

  Signature `IOStatus`

  Parameters: | io (bool) –

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## ObjectValue

`GanttOperationParameterBuilder.``ObjectValue`

  Returns or sets the parameter value which will be set to the input physics object during runtime.

  If 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”)

## Operator

`GanttOperationParameterBuilder.``Operator`

  Returns or sets the operator value.

  `-------------------------------------`

  Getter Method

  Signature `Operator`

  Returns: |
  Return type: | `NXOpen.Mechatronics.GanttOperationParameterBuilderOperatorOption`

  New in version NX10.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

  `-------------------------------------`

  Setter Method

  Signature `Operator`

  Parameters: | optr (`NXOpen.Mechatronics.GanttOperationParameterBuilderOperatorOption`) –

  New in version NX10.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## ParameterName

`GanttOperationParameterBuilder.``ParameterName`

  Returns or sets the parameter name

  `-------------------------------------`

  Getter Method

  Signature `ParameterName`

  Returns: |
  Return type: | str

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

  `-------------------------------------`

  Setter Method

  Signature `ParameterName`

  Parameters: | name (str) –

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## ParameterValue

`GanttOperationParameterBuilder.``ParameterValue`

  Returns or sets the parameter value which will be set to the input physics object during runtime.

  `-------------------------------------`

  Getter Method

  Signature `ParameterValue`

  Returns: |
  Return type: | str

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

  `-------------------------------------`

  Setter Method

  Signature `ParameterValue`

  Parameters: | strValue (str) –

  New in version NX7.5.1.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## PropertyId

`GanttOperationParameterBuilder.``PropertyId`

  Returns or sets the id of property 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”)

# Method Detail

## PutExpressionValue

`GanttOperationParameterBuilder.``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

`GanttOperationParameterBuilder.``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.