AnchorCollection Class

class NXOpen.Routing.AnchorCollection

Bases: object

Represents a collection of NXOpen.Routing.Anchor objects.

Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen.Routing.Anchor is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed. To obtain an instance of this class, refer to NXOpen.Routing.RouteManager

New in version NX4.0.0.

Methods

Method Description
CreateAnchor Creates a NXOpen.Routing.Anchor object.

Method Detail

CreateAnchor

AnchorCollection.CreateAnchor

Overloaded method CreateAnchor

  • CreateAnchor(origin)
  • CreateAnchor(position, point)

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

Creates a NXOpen.Routing.Anchor object.

Signature CreateAnchor(origin)

Parameters:origin (NXOpen.Point3d) – Origin of the Anchor
Returns:
Return type:NXOpen.Routing.Anchor

New in version NX4.0.0.

License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

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

Creates a NXOpen.Routing.Anchor object.

Signature CreateAnchor(position, point)

Parameters:
  • position (NXOpen.Point3d) – This can be None
  • point (NXOpen.Point) – Anchor to this. If this is NXOpen.Point.NULL use position
Returns:

Return type:

NXOpen.Routing.Anchor

New in version NX4.0.0.

License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

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