EjectorTableBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# EjectorTableBuilder Class

class `NXOpen.Tooling.``EjectorTableBuilder`

  Bases: `NXOpen.Builder`

  Represens a ejector table builder.

  To create a new instance of this class, use `NXOpen.Tooling.MoldwizardManager.CreateEjectorTableBuilder()`

  Default values.

  Property | Value
  --- | ---
  EjectorDrawingType | MasterModel
  EjectorPinType | All
  RenameComponent | 0

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
DestinationFolder | Returns or sets the destination folder which the master model part will be created in.
EjectorDrawingType | Returns or sets the drawing type.
EjectorPinType | Returns or sets the ejector pin type.
EjectorPins | Returns the ejector pins.
MasterModelPartName | Returns or sets the name to create a master model part.
NameRule | Returns or sets the name rule to generate the master model part name.
RenameComponent | Returns or sets the option to define the part name in Part Name Management.
Tag | Returns the Tag for this object.
TemplateName | Returns or sets the drawing template name.
WorkingPart | Returns or sets the part where a self contained drawing will be created or the part to be added into the master model drawing part.

# Methods

Method | Description
--- | ---
AssignEjectorType | Assigns the specified type on ejector pins.
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.
GetEjectorTableData | Gets an ejector table transient object data.
GetObject | Returns the object currently being edited by this builder.
NewEjectorTableData | Creates an ejector table transient object data.
RemoveEjectorType | Deletes the specified type from ejector pins.
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

EjectorTableBuilderDrawingType Enumeration | The types of the ejector drawing.
EjectorTableBuilderEjectorType Enumeration | The types of ejectors.

# Property Detail

## DestinationFolder

`EjectorTableBuilder.``DestinationFolder`

  Returns or sets the destination folder which the master model part will be created in.

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

  Getter Method

  Signature `DestinationFolder`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DestinationFolder`

  Parameters: | destinationFolder (str) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## EjectorDrawingType

`EjectorTableBuilder.``EjectorDrawingType`

  Returns or sets the drawing type.

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

  Getter Method

  Signature `EjectorDrawingType`

  Returns: |
  Return type: | `NXOpen.Tooling.EjectorTableBuilderDrawingType`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EjectorDrawingType`

  Parameters: | ejectorDrawingType (`NXOpen.Tooling.EjectorTableBuilderDrawingType`) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## EjectorPinType

`EjectorTableBuilder.``EjectorPinType`

  Returns or sets the ejector pin type.

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

  Getter Method

  Signature `EjectorPinType`

  Returns: |
  Return type: | `NXOpen.Tooling.EjectorTableBuilderEjectorType`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EjectorPinType`

  Parameters: | ejectorPinType (`NXOpen.Tooling.EjectorTableBuilderEjectorType`) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## EjectorPins

`EjectorTableBuilder.``EjectorPins`

  Returns the ejector pins.

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

  Getter Method

  Signature `EjectorPins`

  Returns: |
  Return type: | `NXOpen.Assemblies.SelectComponentList`

  New in version NX9.0.0.

  License requirements: None.

## MasterModelPartName

`EjectorTableBuilder.``MasterModelPartName`

  Returns or sets the name to create a master model part.

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

  Getter Method

  Signature `MasterModelPartName`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `MasterModelPartName`

  Parameters: | masterModelPartName (str) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## NameRule

`EjectorTableBuilder.``NameRule`

  Returns or sets the name rule to generate the master model part name.

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

  Getter Method

  Signature `NameRule`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `NameRule`

  Parameters: | nameRule (str) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## RenameComponent

`EjectorTableBuilder.``RenameComponent`

  Returns or sets the option to define the part name in Part Name Management.

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

  Getter Method

  Signature `RenameComponent`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `RenameComponent`

  Parameters: | renameComponent (bool) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## TemplateName

`EjectorTableBuilder.``TemplateName`

  Returns or sets the drawing template name.

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

  Getter Method

  Signature `TemplateName`

  Returns: |
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `TemplateName`

  Parameters: | templateName (str) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## WorkingPart

`EjectorTableBuilder.``WorkingPart`

  Returns or sets the part where a self contained drawing will be created or the part to be added into the master model drawing part.

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

  Getter Method

  Signature `WorkingPart`

  Returns: |
  Return type: | `NXOpen.NXObject`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `WorkingPart`

  Parameters: | workingPart (`NXOpen.NXObject`) –

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

# Method Detail

## AssignEjectorType

`EjectorTableBuilder.``AssignEjectorType`

  Assigns the specified type on ejector pins.

  Signature `AssignEjectorType()`

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## GetEjectorTableData

`EjectorTableBuilder.``GetEjectorTableData`

  Gets an ejector table transient object data.

  Signature `GetEjectorTableData()`

  Returns: | Allocated ejector table data.
  Return type: | `NXOpen.Tooling.EjectorTableData`

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## NewEjectorTableData

`EjectorTableBuilder.``NewEjectorTableData`

  Creates an ejector table transient object data.

  Signature `NewEjectorTableData()`

  Returns: | Allocated ejector table data.
  Return type: | `NXOpen.Tooling.EjectorTableData`

  New in version NX9.0.0.

  License requirements: ug_mold_design (“UG MOLD”)

## RemoveEjectorType

`EjectorTableBuilder.``RemoveEjectorType`

  Deletes the specified type from ejector pins.

  Signature `RemoveEjectorType()`

  New in version NX9.0.0.

  License requirements: None.

## Validate

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