MountingInterfaceBuilder Class¶
-
class
NXOpen.AME.MountingInterfaceBuilder¶ Bases:
NXOpen.BuilderBuilder class for creating mounting interface object in
NXOpen.PartTo 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
DirectionOfInterfaceReturns: Return type: NXOpen.DirectionNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
DirectionOfInterfaceParameters: 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
FixingTypeReturns: Return type: NXOpen.AME.MountingInterfaceBuilderFixingPolicyNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
FixingTypeParameters: 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
MountingInterfaceTypeReturns: Return type: NXOpen.AME.MountingInterfaceBuilderInterfaceTypeNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
MountingInterfaceTypeParameters: 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
NameReturns: Return type: str New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
NameParameters: 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
ParallelReferenceObjectReturns: Return type: NXOpen.DirectionNew in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ParallelReferenceObjectParameters: 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
ReceptacleTypeReturns: Return type: NXOpen.AME.MountingInterfaceBuilderReceptaclePolicyNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
ReceptacleTypeParameters: 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
SpecifyFaceReturns: Return type: NXOpen.ScCollectorNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
SpecifyFaceParameters: 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
SpecifyLineReturns: Return type: NXOpen.SelectTaggedObjectNew 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
SpecifyPointReturns: Return type: NXOpen.PointNew in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
-------------------------------------Setter Method
Signature
SpecifyPointParameters: 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.MountingInterfaceobjectSignature
AddInterface()New in version NX12.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
RemoveInterfaces¶
-
MountingInterfaceBuilder.RemoveInterfaces¶ Delete input
NXOpen.AME.MountingInterfaceobjectsSignature
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.MountingInterfaceas defaultSignature
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.