ProjectEngineeringObjectBuilder Class¶
-
class
NXOpen.AME.ProjectEngineeringObjectBuilder¶ Bases:
NXOpen.AME.EngineeringObjectBaseBuilderJA class for the insert Project Eng object dialog
To create a new instance of this class, use
NXOpen.AME.AMEManager.CreateProjectEngineeringObjectBuilder()New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| AspectDetails | Returns the aspect detail ui block |
| EOAttributeHolder | Returns the container for definition holders |
| EoDefAttributeHolder | Returns the EO definition attribute holder |
| EoNameIndex | Returns the eo name index and description ui block |
| ProductDefAttributeHolder | Returns the Product definition attribute holder |
| SelectMountingInterfaceLocation | Returns or sets the select mounting interface location builder |
| SelectSymbolDefinition | Returns the select eo symbol |
| 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. |
| GetCommittedAspects | Get the commited Aspect |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetNewObjects | Get the commited Aspect |
| GetObject | Returns the object currently being edited by this builder. |
| PreviewNodeLocation | The preview node location on page. |
| 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¶
AspectDetails¶
-
ProjectEngineeringObjectBuilder.AspectDetails¶ Returns the aspect detail ui block
-------------------------------------Getter Method
Signature
AspectDetailsReturns: Return type: NXOpen.AME.AspectDetailsBuilderNew in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
EOAttributeHolder¶
-
ProjectEngineeringObjectBuilder.EOAttributeHolder¶ Returns the container for definition holders
-------------------------------------Getter Method
Signature
EOAttributeHolderReturns: Return type: NXOpen.AME.EOAttributeHolderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
EoDefAttributeHolder¶
-
ProjectEngineeringObjectBuilder.EoDefAttributeHolder¶ Returns the EO definition attribute holder
-------------------------------------Getter Method
Signature
EoDefAttributeHolderReturns: Return type: NXOpen.AME.EODefAttributeHolderNew in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
EoNameIndex¶
-
ProjectEngineeringObjectBuilder.EoNameIndex¶ Returns the eo name index and description ui block
-------------------------------------Getter Method
Signature
EoNameIndexReturns: Return type: NXOpen.AME.ObjectNameIndexBuilderNew in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ProductDefAttributeHolder¶
-
ProjectEngineeringObjectBuilder.ProductDefAttributeHolder¶ Returns the Product definition attribute holder
-------------------------------------Getter Method
Signature
ProductDefAttributeHolderReturns: Return type: NXOpen.AME.ProductDefAttributeHolderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
SelectMountingInterfaceLocation¶
-
ProjectEngineeringObjectBuilder.SelectMountingInterfaceLocation¶ Returns or sets the select mounting interface location builder
-------------------------------------Getter Method
Signature
SelectMountingInterfaceLocationReturns: Return type: NXOpen.AME.SelectMountingInterfaceLocationBuilderNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
SelectMountingInterfaceLocationParameters: mountingInterfaceLocation ( NXOpen.AME.SelectMountingInterfaceLocationBuilder) –New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
SelectSymbolDefinition¶
-
ProjectEngineeringObjectBuilder.SelectSymbolDefinition¶ Returns the select eo symbol
-------------------------------------Getter Method
Signature
SelectSymbolDefinitionReturns: Return type: NXOpen.Tooling.SelectReuseLibraryItemBuilderNew in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Method Detail¶
PreviewNodeLocation¶
-
ProjectEngineeringObjectBuilder.PreviewNodeLocation¶ The preview node location on page.
Signature
PreviewNodeLocation(owningPage, locationX, locationY, isNodePlaced, index)Parameters: - owningPage (
NXOpen.AME.PageObject) – - locationX (float) –
- locationY (float) –
- isNodePlaced (bool) –
- index (int) – Index of the Product and it’s Product components
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
- owningPage (
Validate¶
-
ProjectEngineeringObjectBuilder.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.