EngineeringObjectAspectDetailBuilder Class

class NXOpen.AME.EngineeringObjectAspectDetailBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

JA class for the Engineering Object Aspect Detail UI block

New in version NX11.0.0.

Properties

Property Description
SelectionParent Returns the selection parent
Tag Returns the Tag for this object.

Methods

Method Description
AddNameAspect Adds a specific name for an aspect
AssignParent Sets a parent aspect
GetParent The parent aspect
SetNameSource Sets the source for aspect name
UnassignParent Deletes a parent aspect
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

SelectionParent

EngineeringObjectAspectDetailBuilder.SelectionParent

Returns the selection parent

-------------------------------------

Getter Method

Signature SelectionParent

Returns:
Return type:NXOpen.SelectNXObject

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Method Detail

AddNameAspect

EngineeringObjectAspectDetailBuilder.AddNameAspect

Adds a specific name for an aspect

Signature AddNameAspect(aspectType, nameAspect)

Parameters:
  • aspectType (str) –
  • nameAspect (str) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

AssignParent

EngineeringObjectAspectDetailBuilder.AssignParent

Sets a parent aspect

Signature AssignParent(aspectName, aspectType)

Parameters:

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

GetParent

EngineeringObjectAspectDetailBuilder.GetParent

The parent aspect

Signature GetParent(aspectType)

Parameters:aspectType (str) –
Returns:
Return type:NXOpen.NXObject

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SetNameSource

EngineeringObjectAspectDetailBuilder.SetNameSource

Sets the source for aspect name

Signature SetNameSource(aspectType, source)

Parameters:

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

UnassignParent

EngineeringObjectAspectDetailBuilder.UnassignParent

Deletes a parent aspect

Signature UnassignParent(aspectType)

Parameters:aspectType (str) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Validate

EngineeringObjectAspectDetailBuilder.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.