DefineAspectBuilder Class¶
-
class
NXOpen.AME.
DefineAspectBuilder
¶ Bases:
NXOpen.Builder
Define Aspects for Engineering Object Definition
To create a new instance of this class, use
NXOpen.AME.AMEManager.DefineAspectBuilder()
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
Function | Returns or sets the value for Function Aspect |
FunctionDesignation | Returns or sets the value for Function Aspect |
Location | Returns or sets the value for Function Aspect |
LocationDesignation | Returns or sets the value for Function Aspect |
Product | Returns or sets the value for Function Aspect |
ProductDesignation | Returns or sets the value for Function Aspect |
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. |
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¶
Function¶
-
DefineAspectBuilder.
Function
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
Function
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
Function
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
FunctionDesignation¶
-
DefineAspectBuilder.
FunctionDesignation
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
FunctionDesignation
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
FunctionDesignation
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Location¶
-
DefineAspectBuilder.
Location
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
Location
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
Location
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
LocationDesignation¶
-
DefineAspectBuilder.
LocationDesignation
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
LocationDesignation
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
LocationDesignation
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Product¶
-
DefineAspectBuilder.
Product
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
Product
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
Product
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ProductDesignation¶
-
DefineAspectBuilder.
ProductDesignation
¶ Returns or sets the value for Function Aspect
-------------------------------------
Getter Method
Signature
ProductDesignation
Returns: Return type: bool New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------
Setter Method
Signature
ProductDesignation
Parameters: val (bool) – New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Method Detail¶
Validate¶
-
DefineAspectBuilder.
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.