NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Routing.BendCorner objects. More...
Public Types | |
enum | Type { RadiusRatio, Table } |
Option for creating a bend using a bend table or using radius or ratio More... | |
Public Member Functions | |
NXOpen.Routing.BendCorner[] | ToArray () |
Returns an array of NXOpen.Routing.BendCorner objects. More... | |
unsafe NXOpen.Routing.BendCorner | CreateCorner (NXOpen.Routing.ControlPoint rcp, NXOpen.Routing.CornerTypeBuilder.BendMethods bendMethod, double bendRatio, double bendRadius) |
Create a bend corner object at a Control Point. More... | |
unsafe NXOpen.Routing.BendCorner | Create (NXOpen.Routing.ControlPoint rcp, bool useBendRatio, double bendRatio, double bendRadius) |
Create a bend corner object at a Control Point. More... | |
unsafe NXOpen.Routing.BendCorner | AssignCornerByBendTable (NXOpen.Routing.ControlPoint rcp, string bendTable) |
This routine assigns a bend corner to the given input RCP object using a bend table entry. More... | |
unsafe NXOpen.Routing.BendCorner | AssignCornerByBendRatio (NXOpen.Routing.ControlPoint bendCrn, double bendRatio) |
This routine assigns a new bend corner to the given input bend corner object using bend ratio. More... | |
unsafe NXOpen.Routing.BendCorner | AssignCornerByBendRadius (NXOpen.Routing.ControlPoint bendCrn, double bendRadius) |
This routine assigns a new bend corner to the given input bend corner object using bend radius. More... | |
unsafe NXOpen.Routing.BendCorner | GetBendAssociatedToSegment (NXOpen.Routing.ISegment segment) |
Enquire the Bend Corner that this segment represents. More... | |
unsafe NXOpen.Routing.BendCorner[] | GetBendCornersFromObjects (NXOpen.NXObject[] objects) |
Returns all the corners connected to the given objects, if any. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Routing.BendCorner objects.
To obtain an instance of this class, refer to NXOpen.Routing.RouteManager
Created in NX4.0.0
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.AssignCornerByBendRadius | ( | NXOpen.Routing.ControlPoint | bendCrn, |
double | bendRadius | ||
) |
This routine assigns a new bend corner to the given input bend corner object using bend radius.
This "assignment" can involve the removal of an existing corner at this location and the creation of a new corner.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
bendCrn | Input bend corner. |
bendRadius | Radius of bend corner arc. |
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.AssignCornerByBendRatio | ( | NXOpen.Routing.ControlPoint | bendCrn, |
double | bendRatio | ||
) |
This routine assigns a new bend corner to the given input bend corner object using bend ratio.
This "assignment" can involve the removal of an existing corner at this location and the creation of a new corner.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
bendCrn | Input bend corner. |
bendRatio | Bend ratio must be greater than 0.5. |
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.AssignCornerByBendTable | ( | NXOpen.Routing.ControlPoint | rcp, |
string | bendTable | ||
) |
This routine assigns a bend corner to the given input RCP object using a bend table entry.
This "assignment" can involve the removal of an existing corner at this location and the creation of a new corner. The application view must be loaded before attempting to assign a bend corner of this type.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
rcp | Control point to assign corner to. a null reference (Nothing in Visual Basic) not allowed. |
bendTable | The bend table entry that is used to create bend corner |
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.Create | ( | NXOpen.Routing.ControlPoint | rcp, |
bool | useBendRatio, | ||
double | bendRatio, | ||
double | bendRadius | ||
) |
Create a bend corner object at a Control Point.
Created in NX4.0.0
Deprecated in NX8.5.0. Use Routing.BendCornerCollection.CreateCorner instead.
License requirements: routing_base ("Routing Basic")
rcp | Route control point to bend. |
useBendRatio | TRUE: use bend ratio calculation, FALSE: use given radius |
bendRatio | Bend ratio only used if use_bend_ratio is TRUE. Must be greater than 0.5. |
bendRadius | Radius of bend corner arc, only used if use_bend_ratio is FALSE. Must be greater than 0. |
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.CreateCorner | ( | NXOpen.Routing.ControlPoint | rcp, |
NXOpen.Routing.CornerTypeBuilder.BendMethods | bendMethod, | ||
double | bendRatio, | ||
double | bendRadius | ||
) |
Create a bend corner object at a Control Point.
Created in NX8.5.0
License requirements: routing_base ("Routing Basic")
rcp | Route control point to bend. |
bendMethod | Enumerated bend method. |
bendRatio | Bend ratio is used only if bend method is set to NXOpen.Routing.CornerTypeBuilder.BendMethods.RatioToDiameter . Must be greater than 0.5. |
bendRadius | Radius of bend corner arc, used only if bend method is set to NXOpen.Routing.CornerTypeBuilder.BendMethods.Radius . Must be greater than 0. |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.Routing.BendCorner NXOpen.Routing.BendCornerCollection.GetBendAssociatedToSegment | ( | NXOpen.Routing.ISegment | segment | ) |
Enquire the Bend Corner that this segment represents.
(a null reference (Nothing in Visual Basic) can be returned, indicating that this segment does not represent a Bend Corner.)
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
segment | Segment being queried for the Bend Corner it represents. |
unsafe NXOpen.Routing.BendCorner [] NXOpen.Routing.BendCornerCollection.GetBendCornersFromObjects | ( | NXOpen.NXObject[] | objects | ) |
Returns all the corners connected to the given objects, if any.
Can find corners from NXOpen.Routing.ControlPoint s, NXOpen.Routing.ISegment s, or NXOpen.Routing.Stock .
Created in NX11.0.0
License requirements: routing_base ("Routing Basic")
objects |
NXOpen.Routing.BendCorner [] NXOpen.Routing.BendCornerCollection.ToArray | ( | ) |
Returns an array of NXOpen.Routing.BendCorner objects.
|
get |
Returns the tag of this object.