AssignCornerBuilder Class

class NXOpen.Routing.AssignCornerBuilder

Bases: NXOpen.Builder

Builder class for Assign Corner which creates corner

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

Default values.

Property Value
RouteAssignCornerCornerBlock.RouteCornerBendMethods Radius
RouteAssignCornerCornerBlock.RouteCornerBendOptions Radius
RouteAssignCornerCornerBlock.RouteCornerRadius.Value 0 (millimeters part), 0 (inches part)
RouteAssignCornerCornerBlock.RouteCornerRatioToDiameter.Value 0 (millimeters part), 0 (inches part)
RouteAssignCornerCornerBlock.RouteCornerRequireLinearSolution 0
RouteAssignCornerCornerBlock.RouteCornerTypeOptions None

New in version NX6.0.0.

Properties

Property Description
ReverseValue Returns or sets the value to store whether reverse order (for bend creation) or not
RouteAssignCornerCornerBlock Returns the route assign corner corner block
RouteAssignCornerEndObject Returns the route assign corner end objects.
RouteAssignCornerRouteSelection Returns the routing object colletor
RouteAssignCornerStartObject Returns the route assign corner start objects.
SelectCopeStock Returns the user selected correct object where correct object is NXOpen.Routing.Stock and NXOpen.Routing.ISegment.
Tag Returns the Tag for this object.
UBendSelection Returns the routing object collector for ubend

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.
GetAttributeHolder Gets Attribute holder in builder, which is user for template attribute assignment.
GetBendCornerAttributes Corner Attributes
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.
SetBendCornerAttributes Corner Attributes
SetStockList Set the NXOpen.Routing.Stock object list when list box is updated.
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

ReverseValue

AssignCornerBuilder.ReverseValue

Returns or sets the value to store whether reverse order (for bend creation) or not

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

Getter Method

Signature ReverseValue

Returns:
Return type:int

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

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

Setter Method

Signature ReverseValue

Parameters:num (int) –

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

RouteAssignCornerCornerBlock

AssignCornerBuilder.RouteAssignCornerCornerBlock

Returns the route assign corner corner block

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

Getter Method

Signature RouteAssignCornerCornerBlock

Returns:
Return type:NXOpen.Routing.CornerTypeBuilder

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

RouteAssignCornerEndObject

AssignCornerBuilder.RouteAssignCornerEndObject

Returns the route assign corner end objects.

Valid start objects objects are NXOpen.Routing.ControlPoint and NXOpen.Routing.ISegment

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

Getter Method

Signature RouteAssignCornerEndObject

Returns:
Return type:NXOpen.SelectNXObject

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

RouteAssignCornerRouteSelection

AssignCornerBuilder.RouteAssignCornerRouteSelection

Returns the routing object colletor

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

Getter Method

Signature RouteAssignCornerRouteSelection

Returns:
Return type:NXOpen.Routing.RouteObjectCollector

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

RouteAssignCornerStartObject

AssignCornerBuilder.RouteAssignCornerStartObject

Returns the route assign corner start objects.

Valid start objects are NXOpen.Routing.ControlPoint and NXOpen.Routing.ISegment

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

Getter Method

Signature RouteAssignCornerStartObject

Returns:
Return type:NXOpen.SelectNXObject

New in version NX6.0.0.

License requirements: routing_base (“Routing Basic”)

SelectCopeStock

AssignCornerBuilder.SelectCopeStock

Returns the user selected correct object where correct object is NXOpen.Routing.Stock and NXOpen.Routing.ISegment.

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

Getter Method

Signature SelectCopeStock

Returns:
Return type:NXOpen.SelectNXObjectList

New in version NX8.0.0.

License requirements: routing_base (“Routing Basic”)

UBendSelection

AssignCornerBuilder.UBendSelection

Returns the routing object collector for ubend

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

Getter Method

Signature UBendSelection

Returns:
Return type:NXOpen.Routing.RouteObjectCollector

New in version NX8.0.0.

License requirements: routing_base (“Routing Basic”)

Method Detail

GetAttributeHolder

AssignCornerBuilder.GetAttributeHolder

Gets Attribute holder in builder, which is user for template attribute assignment.

Signature GetAttributeHolder()

Returns:Object to hold template attributes
Return type:NXOpen.NXObject

New in version NX11.0.1.

License requirements: routing_base (“Routing Basic”)

GetBendCornerAttributes

AssignCornerBuilder.GetBendCornerAttributes

Corner Attributes

Signature GetBendCornerAttributes()

Returns:
Return type:NXOpen.Routing.CharacteristicList

New in version NX12.0.0.

License requirements: routing_base (“Routing Basic”)

SetBendCornerAttributes

AssignCornerBuilder.SetBendCornerAttributes

Corner Attributes

Signature SetBendCornerAttributes(selectedRowAttributesCharxList)

Parameters:selectedRowAttributesCharxList (NXOpen.Routing.CharacteristicList) –

New in version NX12.0.0.

License requirements: routing_base (“Routing Basic”)

SetStockList

AssignCornerBuilder.SetStockList

Set the NXOpen.Routing.Stock object list when list box is updated.

Signature SetStockList(stockObjects)

Parameters:stockObjects (list of NXOpen.Routing.Stock) – Routing Stocks for cope creation

New in version NX8.0.0.

License requirements: routing_base (“Routing Basic”)

Validate

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