FillerStockBuilder Class

class NXOpen.Routing.FillerStockBuilder

Bases: NXOpen.Builder

Creates Filler stock on selected Segments.

To create a new instance of this class, use NXOpen.Routing.RouteManager.CreateFillerStockBuilder()

Default values.

Property Value
RemoveExistingStock 0
StockSettings.AssignStockMethod SpecifiedStock

New in version NX6.0.0.

Properties

Property Description
RemoveExistingStock Returns or sets the remove existing stock flag.
RouteSelection Returns the route selection which allows selection of routing objects
StockSettings Returns or sets the stock settings for creating filler stock.
Tag Returns the Tag for this object.

Methods

Method Description
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.
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.

Property Detail

RemoveExistingStock

FillerStockBuilder.RemoveExistingStock

Returns or sets the remove existing stock flag.

If set to TRUE the existing stock on the path will be removed when assigning new stock.

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

Getter Method

Signature RemoveExistingStock

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: routing_harness (“Routing Harness”)

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

Setter Method

Signature RemoveExistingStock

Parameters:removeStock (bool) –

New in version NX6.0.0.

License requirements: routing_harness (“Routing Harness”)

RouteSelection

FillerStockBuilder.RouteSelection

Returns the route selection which allows selection of routing objects

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

Getter Method

Signature RouteSelection

Returns:
Return type:NXOpen.Routing.RouteObjectCollector

New in version NX6.0.0.

License requirements: routing_harness (“Routing Harness”)

StockSettings

FillerStockBuilder.StockSettings

Returns or sets the stock settings for creating filler stock.

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

Getter Method

Signature StockSettings

Returns:
Return type:NXOpen.Routing.PathStockBuilder

New in version NX6.0.0.

License requirements: routing_harness (“Routing Harness”)

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

Setter Method

Signature StockSettings

Parameters:stockBuilder (NXOpen.Routing.PathStockBuilder) –

New in version NX6.0.0.

License requirements: routing_harness (“Routing Harness”)

Method Detail

Validate

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