EjectorTableBuilder Class¶
-
class
NXOpen.Tooling.EjectorTableBuilder¶ Bases:
NXOpen.BuilderRepresens 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
DestinationFolderReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DestinationFolderParameters: 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
EjectorDrawingTypeReturns: Return type: NXOpen.Tooling.EjectorTableBuilderDrawingTypeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EjectorDrawingTypeParameters: 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
EjectorPinTypeReturns: Return type: NXOpen.Tooling.EjectorTableBuilderEjectorTypeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EjectorPinTypeParameters: 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
EjectorPinsReturns: Return type: NXOpen.Assemblies.SelectComponentListNew 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
MasterModelPartNameReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MasterModelPartNameParameters: 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
NameRuleReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NameRuleParameters: 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
RenameComponentReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RenameComponentParameters: 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
TemplateNameReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TemplateNameParameters: 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
WorkingPartReturns: Return type: NXOpen.NXObjectNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WorkingPartParameters: 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.EjectorTableDataNew 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.EjectorTableDataNew 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.