public interface PortCollection extends TaggedObjectCollection
Port
objects.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Port
is a smart object and many smart objects are condemned as they
only exist to support other objects and are not displayed. Condemned objects will be deleted when
their references go away. RouteManager
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
void |
convertToFeatures()
Cycles through all the
Port objects and creates
a FeaturePort object for FittingPort object,
FixturePort object, MultiPort object, and
TerminalPort object. |
ExtractPort |
createExtractPort(Port port)
Creates a
ExtractPort . |
ExtractPort |
createExtractPort(Port port,
boolean allowMultipleConnections)
Creates a
ExtractPort . |
StockOffsetPort |
createStockOffsetPort(Component partOccurrence,
Port portPrototype)
Deprecated.
Deprecated in NX8.0.2. Use the
StockOffsetPortCollection.createStockOffsetPort(nxopen.assemblies.Component, nxopen.routing.Port) on the StockOffsetPortCollection class instead.
|
Port[] |
getComponentPorts(Component component)
Given a component, returns the port occurrences that belong to it.
|
_find_next, iterator
ExtractPort createExtractPort(Port port) throws NXException, RemoteException
ExtractPort
. Default
allows multiple connections to this port.
port
- Port to extract fromNXException
RemoteException
ExtractPort createExtractPort(Port port, boolean allowMultipleConnections) throws NXException, RemoteException
port
- Port to extract fromallowMultipleConnections
- Does this fitting port allow multiple wires to be routed to it?NXException
RemoteException
void convertToFeatures() throws NXException, RemoteException
Port
objects and creates
a FeaturePort
object for FittingPort
object,
FixturePort
object, MultiPort
object, and
TerminalPort
object.
NXException
RemoteException
StockOffsetPort createStockOffsetPort(Component partOccurrence, Port portPrototype) throws NXException, RemoteException
StockOffsetPortCollection.createStockOffsetPort(nxopen.assemblies.Component, nxopen.routing.Port)
on the StockOffsetPortCollection
class instead.
partOccurrence
- The part occurrence from which to create the stock offset port.portPrototype
- The prototype of the stock offset port in the part occurrence.NXException
RemoteException
Port[] getComponentPorts(Component component) throws NXException, RemoteException
component
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.