NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Routing.Electrical.ElectricalStockDeviceCollection Class Reference

Represents a collection of NXOpen.Routing.Electrical.ElectricalStockDevice (ESD) objects. More...

Inheritance diagram for NXOpen.Routing.Electrical.ElectricalStockDeviceCollection:
NXOpen.TaggedObjectCollection NXOpen.Utilities.NXRemotableObject IEnumerable IMessageSink

Public Member Functions

unsafe void AssignStock (NXOpen.Routing.Electrical.ElectricalStockDevice[] stockDevices, NXOpen.Routing.Electrical.ElectricalStockDevice.RouteTypes routeType)
 Assign NXOpen.Routing.Stock to input stock devices. More...
 
unsafe int AutoRouteAll (NXOpen.Routing.Electrical.ElectricalStockDevice.RouteLevel routeLevel, NXOpen.Routing.Electrical.ElectricalStockDevice.AutoRouteSel routeSel, out NXOpen.ErrorList errorList)
 Automatically routes all of the stock devices in the work part. More...
 
unsafe int AutoRouteConnections (NXOpen.Routing.Electrical.ElectricalStockDevice.RouteLevel routeLevel, NXOpen.Routing.Electrical.ElectricalStockDevice.AutoRouteSel routeSel, NXOpen.Routing.Electrical.ElectricalStockDevice[] stockDevices, out NXOpen.ErrorList errorList)
 Automatically routes the selected stock devices. More...
 
unsafe
NXOpen.Routing.Electrical.ElectricalStockDevice[] 
RemoveStock (NXOpen.Routing.Electrical.ElectricalStockDevice[] stockDevices)
 Removes NXOpen.Routing.Stock from input stock devices. More...
 
NXOpen.Routing.Electrical.ElectricalStockDevice[] ToArray ()
 Returns an array of NXOpen.Routing.Electrical.ElectricalStockDevice objects. More...
 
unsafe
NXOpen.Routing.Electrical.ElectricalStockDevice[] 
Unroute (NXOpen.Routing.Electrical.ElectricalStockDevice[] stockDevices)
 Removes all bundle NXOpen.Routing.Stock from input stock devices. More...
 
unsafe
NXOpen.Routing.Electrical.ElectricalStockDevice[] 
UnrouteAll ()
 Removes all bundle NXOpen.Routing.Stock from all stock devices. More...
 
- Public Member Functions inherited from NXOpen.TaggedObjectCollection
IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObjectCollection
new void initialize ()
 <exclude> More...
 
- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Routing.Electrical.ElectricalStockDevice (ESD) objects.

To obtain an instance of this class, refer to NXOpen.Routing.RouteManager

Created in NX4.0.2

Member Function Documentation

unsafe void NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.AssignStock ( NXOpen.Routing.Electrical.ElectricalStockDevice[]  stockDevices,
NXOpen.Routing.Electrical.ElectricalStockDevice.RouteTypes  routeType 
)
inline

Assign NXOpen.Routing.Stock to input stock devices.

The assigned NXOpen.Routing.Stock is a bundle stock, and the routine will perform the bundling calculations. This routine should also be called after performing NXOpen.Routing.Electrical.ElectricalStockDevice.ManuallyRoute .

Created in NX5.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
stockDevices
routeType
unsafe int NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.AutoRouteAll ( NXOpen.Routing.Electrical.ElectricalStockDevice.RouteLevel  routeLevel,
NXOpen.Routing.Electrical.ElectricalStockDevice.AutoRouteSel  routeSel,
out NXOpen.ErrorList  errorList 
)
inline

Automatically routes all of the stock devices in the work part.

Routing can be done on pin, component or mixed level and it is based on shortest length (See NXOpen.Routing.Electrical.ElectricalStockDevice for more details).

Created in NX6.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
routeLevel
routeSel
Returns
Parameters
errorListAny errors that occurred during Automatic Routing.
unsafe int NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.AutoRouteConnections ( NXOpen.Routing.Electrical.ElectricalStockDevice.RouteLevel  routeLevel,
NXOpen.Routing.Electrical.ElectricalStockDevice.AutoRouteSel  routeSel,
NXOpen.Routing.Electrical.ElectricalStockDevice[]  stockDevices,
out NXOpen.ErrorList  errorList 
)
inline

Automatically routes the selected stock devices.

Routing can be done on pin, component or mixed level and it is based on shortest length (See NXOpen.Routing.Electrical.ElectricalStockDevice for more details).

Created in NX5.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
routeLevel
routeSel
stockDevices
Returns
Parameters
errorListAny errors that occurred during Automatic Routing.
override int NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
inlineprotectedvirtual

Advances the enumerator to the next element of the collection.

Implements NXOpen.TaggedObjectCollection.

unsafe NXOpen.Routing.Electrical.ElectricalStockDevice [] NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.RemoveStock ( NXOpen.Routing.Electrical.ElectricalStockDevice[]  stockDevices)
inline

Removes NXOpen.Routing.Stock from input stock devices.

Removes all segments from input wires and updates harnesses associated to wires, resizes and rebuilds bundle stocks for those harnesses. Deletes the NXOpen.Routing.Wire .

Created in NX5.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
stockDevices
Returns
NXOpen.Routing.Electrical.ElectricalStockDevice [] NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.ToArray ( )
inline
unsafe NXOpen.Routing.Electrical.ElectricalStockDevice [] NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.Unroute ( NXOpen.Routing.Electrical.ElectricalStockDevice[]  stockDevices)
inline

Removes all bundle NXOpen.Routing.Stock from input stock devices.

Removes all segments from input wires and updates harnesses associated to wires, resizes and rebuilds bundle stocks for those harnesses. Deletes the NXOpen.Routing.Wire . Use this when no rebundling is necessary

Created in NX6.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
stockDevices
Returns
unsafe NXOpen.Routing.Electrical.ElectricalStockDevice [] NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.UnrouteAll ( )
inline

Removes all bundle NXOpen.Routing.Stock from all stock devices.

Removes all segments from input wires and updates harnesses associated to wires, resizes and rebuilds bundle stocks for those harnesses. Deletes the NXOpen.Routing.Wire . Use this when no rebundling is necessary

Created in NX6.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Returns

Property Documentation

Tag NXOpen.Routing.Electrical.ElectricalStockDeviceCollection.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.