BuilderFactory Class — NXOpen Python API Reference 12.0.0 documentation

# BuilderFactory Class

class `NXOpen.MechanicalRouting.``BuilderFactory`

  Bases: `object`

  Represents an `NXOpen.MechanicalRouting.BuilderFactory` object.

  Use this object to create specific routing mechanical builders.

  To obtain an instance of this class, refer to `NXOpen.MechanicalRouting.RoutingManager`

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
CreateAssignCornerBuilder | Creates a `NXOpen.MechanicalRouting.AssignCornerBuilder` object.
CreateBulkReplacementBuilder | Creates a `NXOpen.MechanicalRouting.BulkReplacementBuilder` object.
CreateConnectBuilder | Creates a `NXOpen.MechanicalRouting.ConnectBuilder` object.
CreateCreatePathBuilder | Create a `NXOpen.MechanicalRouting.CreatePathBuilder` object.
CreateDynamicCutElbowBehaviorBuilder | Creates a `NXOpen.MechanicalRouting.DynamicCutElbowBehaviorBuilder` object.
CreateEditPlacementBuilder | Creates a `NXOpen.MechanicalRouting.EditPlacementBuilder` object.
CreateEditPointBuilder | Create a `NXOpen.MechanicalRouting.EditPointBuilder` object.
CreateInsulationBuilder | Create a `NXOpen.MechanicalRouting.InsulationBuilder` object.
CreateManageInlineBehaviorBuilder | Creates a `NXOpen.MechanicalRouting.ManageInlineBehaviorBuilder` object.
CreateMergeBuilder | Creates a `NXOpen.MechanicalRouting.MergeBuilder` object.
CreateMovePathBuilder | Create a `NXOpen.MechanicalRouting.MovePathBuilder` object.
CreatePartPlacementBuilder | Creates a `NXOpen.MechanicalRouting.PartPlacementBuilder` object.
CreatePipingComponentFileBuilder | Creates a `NXOpen.MechanicalRouting.PipingComponentFileBuilder` object.
CreateSplitBuilder | Creates a `NXOpen.MechanicalRouting.SplitBuilder` object.
CreateStockBuilder | Creates a `NXOpen.MechanicalRouting.StockBuilder` object.
CreateTransformBlockBuilder | Create a `NXOpen.MechanicalRouting.TransformBlockBuilder` object.

# Method Detail

## CreateAssignCornerBuilder

`BuilderFactory.``CreateAssignCornerBuilder`

  Creates a `NXOpen.MechanicalRouting.AssignCornerBuilder` object.

  Signature `CreateAssignCornerBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which bend is being created. It can be passed as null tag when not working in context.

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.AssignCornerBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateBulkReplacementBuilder

`BuilderFactory.``CreateBulkReplacementBuilder`

  Creates a `NXOpen.MechanicalRouting.BulkReplacementBuilder` object.

  Signature `CreateBulkReplacementBuilder(part, workOcc, segmentsOrStocks)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which stock is being created
  - segmentsOrStocks (list of `NXOpen.NXObject`) – Occurrences of Routing segments to assign stock to or stock to be edited

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.BulkReplacementBuilder`

  New in version NX12.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateConnectBuilder

`BuilderFactory.``CreateConnectBuilder`

  Creates a `NXOpen.MechanicalRouting.ConnectBuilder` object.

  Signature `CreateConnectBuilder(part, components)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - components (list of `NXOpen.Assemblies.Component`) – selected Components for Connect Path

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.ConnectBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateCreatePathBuilder

`BuilderFactory.``CreateCreatePathBuilder`

  Create a `NXOpen.MechanicalRouting.CreatePathBuilder` object.

  Signature `CreateCreatePathBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which stock is being created

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.CreatePathBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateDynamicCutElbowBehaviorBuilder

`BuilderFactory.``CreateDynamicCutElbowBehaviorBuilder`

  Creates a `NXOpen.MechanicalRouting.DynamicCutElbowBehaviorBuilder` object.

  Signature `CreateDynamicCutElbowBehaviorBuilder(part)`

  Parameters: | part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  Returns: |
  Return type: | `NXOpen.MechanicalRouting.DynamicCutElbowBehaviorBuilder`

  New in version NX12.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateEditPlacementBuilder

`BuilderFactory.``CreateEditPlacementBuilder`

  Creates a `NXOpen.MechanicalRouting.EditPlacementBuilder` object.

  Signature `CreateEditPlacementBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which edit is being performed. It can be passed as null tag when not working in context.

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.EditPlacementBuilder`

  New in version NX12.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateEditPointBuilder

`BuilderFactory.``CreateEditPointBuilder`

  Create a `NXOpen.MechanicalRouting.EditPointBuilder` object.

  Signature `CreateEditPointBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which edit point is being performed. It can be passed as null tag when not working in context.

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.EditPointBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateInsulationBuilder

`BuilderFactory.``CreateInsulationBuilder`

  Create a `NXOpen.MechanicalRouting.InsulationBuilder` object.

  Signature `CreateInsulationBuilder(part, insulationPartOccurrence)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - insulationPartOccurrence (`NXOpen.Assemblies.Component`) –

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.InsulationBuilder`

  New in version NX11.0.0.

  License requirements: routing_advanced (“Routing Advanced”)

## CreateManageInlineBehaviorBuilder

`BuilderFactory.``CreateManageInlineBehaviorBuilder`

  Creates a `NXOpen.MechanicalRouting.ManageInlineBehaviorBuilder` object.

  Signature `CreateManageInlineBehaviorBuilder(part)`

  Parameters: | part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  Returns: |
  Return type: | `NXOpen.MechanicalRouting.ManageInlineBehaviorBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateMergeBuilder

`BuilderFactory.``CreateMergeBuilder`

  Creates a `NXOpen.MechanicalRouting.MergeBuilder` object.

  Signature `CreateMergeBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which merge stock is being performed. It can be passed as null tag when not working in context.

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.MergeBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateMovePathBuilder

`BuilderFactory.``CreateMovePathBuilder`

  Create a `NXOpen.MechanicalRouting.MovePathBuilder` object.

  Signature `CreateMovePathBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which move is performed. Can be None when work part is same as displayed part

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.MovePathBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreatePartPlacementBuilder

`BuilderFactory.``CreatePartPlacementBuilder`

  Creates a `NXOpen.MechanicalRouting.PartPlacementBuilder` object.

  Signature `CreatePartPlacementBuilder(part, workOcc)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which placement is being performed. It can be passed as null tag when not working in context.

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.PartPlacementBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreatePipingComponentFileBuilder

`BuilderFactory.``CreatePipingComponentFileBuilder`

  Creates a `NXOpen.MechanicalRouting.PipingComponentFileBuilder` object.

  Signature `CreatePipingComponentFileBuilder(part)`

  Parameters: | part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  Returns: |
  Return type: | `NXOpen.MechanicalRouting.PipingComponentFileBuilder`

  New in version NX12.0.0.

  License requirements: routing_pipetube (“Routing Piping and Tubing”)

## CreateSplitBuilder

`BuilderFactory.``CreateSplitBuilder`

  Creates a `NXOpen.MechanicalRouting.SplitBuilder` object.

  Signature `CreateSplitBuilder(part, controlPoints)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - controlPoints (list of `NXOpen.Routing.ControlPoint`) – selected Control Points for split stock components

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.SplitBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateStockBuilder

`BuilderFactory.``CreateStockBuilder`

  Creates a `NXOpen.MechanicalRouting.StockBuilder` object.

  Signature `CreateStockBuilder(part, workOcc, segmentsOrStocks)`

  Parameters:

  - part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  - workOcc (`NXOpen.Assemblies.Component`) – the container component within which stock is being created
  - segmentsOrStocks (list of `NXOpen.NXObject`) – Occurrences of Routing segments to assign stock to or stock to be edited

  Returns: |
  Return type: | `NXOpen.MechanicalRouting.StockBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)

## CreateTransformBlockBuilder

`BuilderFactory.``CreateTransformBlockBuilder`

  Create a `NXOpen.MechanicalRouting.TransformBlockBuilder` object.

  Signature `CreateTransformBlockBuilder(part)`

  Parameters: | part (`NXOpen.Part`) – the part associated with the builder. Cannot be None.
  Returns: |
  Return type: | `NXOpen.MechanicalRouting.TransformBlockBuilder`

  New in version NX11.0.0.

  License requirements: routing_base (“Routing Basic”)