Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CreateChild | Create a child container |
CreateCustomView | Create a custom view in the target container |
CreateMasterContainer | Create a master manufacturing container |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
DistributeWelds | Move the weld components to the lowest common parent of the 2 welded parts |
ExportToXML | Export the assembly structure to an XML file |
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. |
MoveComponents | Move components to the container |
RemoveComponent | Remove a container part from the assembly |
SetContainerCenterOfGravity | Set a container center of gravity value |
SetContainerMass | Set a container mass value |
SetContainerName | Set the name of a container |
SetContainerWeldLength | Set a container weld length value |
SetManufacturingAttribute | Set a string manufacturing attribute on a component |
SetNavigatorRootComponent | Set the root component of the navigator |
SetOrientation | Set the container orientation |
SetOrientationUpFace | Set the container orientation up face |
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¶
ManufacturingAssemblyNavigatorBuilderContainerType Enumeration | Container Type Structure or Weld |
ManufacturingAssemblyNavigatorBuilderOrientationType Enumeration | Container Orientation Types |
Method Detail¶
CreateChild¶
Create a child container
Signature
CreateChild(containerOccTag, containerType)
Parameters: - containerOccTag (
NXOpen.NXObject
) – - containerType (
NXOpen.Features.ShipDesign.ManufacturingAssemblyNavigatorBuilderContainerType
) –
Returns: Return type: New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
- containerOccTag (
CreateCustomView¶
Create a custom view in the target container
Signature
CreateCustomView(componentTag)
Parameters: componentTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
CreateMasterContainer¶
Create a master manufacturing container
Signature
CreateMasterContainer(containerName)
Parameters: containerName (str) – Returns: Return type: NXOpen.NXObject
New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
DistributeWelds¶
Move the weld components to the lowest common parent of the 2 welded parts
Signature
DistributeWelds(containerOccTag)
Parameters: containerOccTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
ExportToXML¶
Export the assembly structure to an XML file
Signature
ExportToXML(masterContainerPartOccTag)
Parameters: masterContainerPartOccTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
MoveComponents¶
Move components to the container
Signature
MoveComponents(containerOccTag, partOccsToMove)
Parameters: - containerOccTag (
NXOpen.NXObject
) – - partOccsToMove (list of
NXOpen.NXObject
) –
New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
- containerOccTag (
RemoveComponent¶
Remove a container part from the assembly
Signature
RemoveComponent(containerOccTag)
Parameters: containerOccTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
SetContainerCenterOfGravity¶
Set a container center of gravity value
Signature
SetContainerCenterOfGravity(componentTag)
Parameters: componentTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
SetContainerMass¶
Set a container mass value
Signature
SetContainerMass(componentTag)
Parameters: componentTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
SetContainerName¶
Set the name of a container
Signature
SetContainerName(componentTag)
Parameters: componentTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
SetContainerWeldLength¶
Set a container weld length value
Signature
SetContainerWeldLength(componentTag)
Parameters: componentTag ( NXOpen.NXObject
) –New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
SetManufacturingAttribute¶
Set a string manufacturing attribute on a component
Signature
SetManufacturingAttribute(componentTag, attrName, attrValue)
Parameters: - componentTag (
NXOpen.NXObject
) – - attrName (str) –
- attrValue (str) –
New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
- componentTag (
SetOrientation¶
Set the container orientation
Signature
SetOrientation(containerOccTag, orientationType)
Parameters: - containerOccTag (
NXOpen.NXObject
) – - orientationType (
NXOpen.Features.ShipDesign.ManufacturingAssemblyNavigatorBuilderOrientationType
) –
New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
- containerOccTag (
SetOrientationUpFace¶
Set the container orientation up face
Signature
SetOrientationUpFace(containerOccTag, upFace)
Parameters: - containerOccTag (
NXOpen.NXObject
) – - upFace (
NXOpen.TaggedObject
) – the normal of this face will be used for orientation
New in version NX12.0.0.
License requirements: nx_ship_mfg_prep (“Ship Manufacturing”)
- containerOccTag (
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.