MountingInterfaceBuilder Class

class NXOpen.AME.MountingInterfaceBuilder

Bases: NXOpen.Builder

Builder class for creating mounting interface object in NXOpen.Part

To create a new instance of this class, use NXOpen.AME.AMEManager.CreateMountingInterfaceBuilder()

Default values.

Property Value
FixingType Point
MountingInterfaceType Fixing
ReceptacleType Fixed

New in version NX12.0.0.

Properties

Property Description
DirectionOfInterface Returns or sets the direction of interface
FixingType Returns or sets the NXOpen.AME.MountingInterfaceBuilderFixingPolicy
MountingInterfaceType Returns or sets the NXOpen.AME.MountingInterfaceBuilder.InterfaceType
Name Returns or sets the name
ParallelReferenceObject Returns or sets the parallel reference object
ReceptacleType Returns or sets the NXOpen.AME.MountingInterfaceBuilderReceptaclePolicy
SpecifyFace Returns or sets the specify face
SpecifyLine Returns the specify line
SpecifyPoint Returns or sets the specify point
Tag Returns the Tag for this object.

Methods

Method Description
AddInterface Adds a NXOpen.AME.MountingInterface object
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.
RemoveInterfaces Delete input NXOpen.AME.MountingInterface objects
SetDefaultFixingInterface Sets input NXOpen.AME.MountingInterface as default
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

MountingInterfaceBuilderFixingPolicy Enumeration Represents component fixing type
MountingInterfaceBuilderInterfaceType Enumeration Represents mounting interface type
MountingInterfaceBuilderReceptaclePolicy Enumeration Represents component receptacle type

Property Detail

DirectionOfInterface

MountingInterfaceBuilder.DirectionOfInterface

Returns or sets the direction of interface

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

Getter Method

Signature DirectionOfInterface

Returns:
Return type:NXOpen.Direction

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature DirectionOfInterface

Parameters:directionOfInterface (NXOpen.Direction) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

FixingType

MountingInterfaceBuilder.FixingType

Returns or sets the NXOpen.AME.MountingInterfaceBuilderFixingPolicy

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

Getter Method

Signature FixingType

Returns:
Return type:NXOpen.AME.MountingInterfaceBuilderFixingPolicy

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature FixingType

Parameters:type (NXOpen.AME.MountingInterfaceBuilderFixingPolicy) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

MountingInterfaceType

MountingInterfaceBuilder.MountingInterfaceType

Returns or sets the NXOpen.AME.MountingInterfaceBuilder.InterfaceType

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

Getter Method

Signature MountingInterfaceType

Returns:
Return type:NXOpen.AME.MountingInterfaceBuilderInterfaceType

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature MountingInterfaceType

Parameters:type (NXOpen.AME.MountingInterfaceBuilderInterfaceType) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Name

MountingInterfaceBuilder.Name

Returns or sets the name

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

Getter Method

Signature Name

Returns:
Return type:str

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature Name

Parameters:name (str) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

ParallelReferenceObject

MountingInterfaceBuilder.ParallelReferenceObject

Returns or sets the parallel reference object

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

Getter Method

Signature ParallelReferenceObject

Returns:
Return type:NXOpen.Direction

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature ParallelReferenceObject

Parameters:parallelReferenceObject (NXOpen.Direction) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

ReceptacleType

MountingInterfaceBuilder.ReceptacleType

Returns or sets the NXOpen.AME.MountingInterfaceBuilderReceptaclePolicy

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

Getter Method

Signature ReceptacleType

Returns:
Return type:NXOpen.AME.MountingInterfaceBuilderReceptaclePolicy

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature ReceptacleType

Parameters:receptacleType (NXOpen.AME.MountingInterfaceBuilderReceptaclePolicy) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SpecifyFace

MountingInterfaceBuilder.SpecifyFace

Returns or sets the specify face

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

Getter Method

Signature SpecifyFace

Returns:
Return type:NXOpen.ScCollector

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature SpecifyFace

Parameters:collector (NXOpen.ScCollector) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SpecifyLine

MountingInterfaceBuilder.SpecifyLine

Returns the specify line

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

Getter Method

Signature SpecifyLine

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SpecifyPoint

MountingInterfaceBuilder.SpecifyPoint

Returns or sets the specify point

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

Getter Method

Signature SpecifyPoint

Returns:
Return type:NXOpen.Point

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

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

Setter Method

Signature SpecifyPoint

Parameters:specifyPoint (NXOpen.Point) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Method Detail

AddInterface

MountingInterfaceBuilder.AddInterface

Adds a NXOpen.AME.MountingInterface object

Signature AddInterface()

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

RemoveInterfaces

MountingInterfaceBuilder.RemoveInterfaces

Delete input NXOpen.AME.MountingInterface objects

Signature RemoveInterfaces(mountingInterfaces)

Parameters:mountingInterfaces (list of str) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SetDefaultFixingInterface

MountingInterfaceBuilder.SetDefaultFixingInterface

Sets input NXOpen.AME.MountingInterface as default

Signature SetDefaultFixingInterface(fixingName)

Parameters:fixingName (str) –

New in version NX12.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Validate

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