ConnectedCurvesBuilder Class

class NXOpen.Routing.ConnectedCurvesBuilder

Bases: NXOpen.Builder

Builder for creating automatically creating segments on end-to-end connected curves.

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

Default values.

Property Value
AllowArcs 1
AllowLines 1
AllowOccs 1
AllowSplines 1

New in version NX6.0.0.

Properties

Property Description
AllowArcs Returns or sets the flag that allows traversal of arcs when finding connected curves.
AllowLines Returns or sets the flag that allows traversal of lines when finding connected curves.
AllowOccs Returns or sets the flag that allows traversal of curve occurrences when finding connected curves.
AllowSplines Returns or sets the flag that allows traversal of splines when finding connected curves.
CurveSelection Returns the list of selected curves.
Tag Returns the Tag for this object.

Methods

Method Description
ChainSelectedCurves Finds all curves attached end-to-end with the current list of selected curves.
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

AllowArcs

ConnectedCurvesBuilder.AllowArcs

Returns or sets the flag that allows traversal of arcs when finding connected curves.

If False, the traversal will stop when it hits an arc curve. In addition the curve selection list will not allow arcs to be added to the list.

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

Getter Method

Signature AllowArcs

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

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

Setter Method

Signature AllowArcs

Parameters:allowArcs (bool) –

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

AllowLines

ConnectedCurvesBuilder.AllowLines

Returns or sets the flag that allows traversal of lines when finding connected curves.

If False, the traversal will stop when it hits a line curve. In addition the curve selection list will not allow lines to be added to the list.

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

Getter Method

Signature AllowLines

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

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

Setter Method

Signature AllowLines

Parameters:allowLines (bool) –

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

AllowOccs

ConnectedCurvesBuilder.AllowOccs

Returns or sets the flag that allows traversal of curve occurrences when finding connected curves.

If False, the traversal will stop when it hits a curve occurrence. In addition the curve selection list will not allow curve occurrences to be added to the list.

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

Getter Method

Signature AllowOccs

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

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

Setter Method

Signature AllowOccs

Parameters:allowOccs (bool) –

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

AllowSplines

ConnectedCurvesBuilder.AllowSplines

Returns or sets the flag that allows traversal of splines when finding connected curves.

If False, the traversal will stop when it hits an spline curve. In addition the curve selection list will not allow splines to be added to the list.

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

Getter Method

Signature AllowSplines

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

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

Setter Method

Signature AllowSplines

Parameters:allowSplines (bool) –

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

CurveSelection

ConnectedCurvesBuilder.CurveSelection

Returns the list of selected curves.

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

Getter Method

Signature CurveSelection

Returns:
Return type:NXOpen.SelectCurveList

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

Method Detail

ChainSelectedCurves

ConnectedCurvesBuilder.ChainSelectedCurves

Finds all curves attached end-to-end with the current list of selected curves.

The returned list of curves includes the selected curves.

Signature ChainSelectedCurves()

Returns:
Return type:list of NXOpen.Curve

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

Validate

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