public interface ElectricalStockDevice extends StockDevice
Modifier and Type | Interface and Description |
---|---|
static class |
ElectricalStockDevice.AutoRouteSel
Auto-route selections.
|
static class |
ElectricalStockDevice.RouteLevel
Routing level.
|
static class |
ElectricalStockDevice.RouteTypes
Route types (manual/auto).
|
SingleDevice.DeleteObjectResult
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
double |
calculateCutLength()
Calculates and sets cut length on object.
|
void |
changeHarness(HarnessDevice harnessDevice)
Adds this stockdevice as child of given HarnessDevice.
|
String |
colorName()
Returns the color name.
|
double |
cutLength()
Returns the cut length.
|
ConnectorDevice |
findFromConnector()
Find the from connector for this stock device.
|
Connection |
findImplementedConnection()
Find the
Connection implemented by this device. |
HarnessDefinition |
findNearestHarnessDefinition()
Get nearest
HarnessDefinition encountered up the parent-child hierarchy. |
HarnessDevice |
findNearestHarnessDevice()
Find the nearest
HarnessDevice encountered up the parent-child hierarchy. |
ConnectorDevice |
findToConnector()
Find the to connector for this stock device.
|
CableDefinition |
findTopmostCableDefinition()
Get topmost
CableDefinition encountered up the parent-child hierarchy. |
ConnectorDevice[] |
getIntermediateComponents()
Get intermediate components
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic") . |
LogicalTerminal[] |
getIntermediateTerminals()
Get the intermediate terminals associated to this stock device.
|
boolean |
hasIntermediateComponents()
Does this stock device have intermediate components?
|
void |
manuallyRoute(ElectricalStockDevice.RouteLevel routeLevel,
ISegment[] segments)
Manually routes a
ElectricalStockDevice . |
int |
nxColorValue()
Returns the NX color value.
|
void |
setColorName(String colorName)
Sets the color name.
|
void |
setCutLength(double cutLength)
Sets the cut length.
|
void |
setNxColorValue(int nxColorValue)
Sets the NX color value.
|
logStockDeviceWiresforConcurrency, setStockDefinition, setStockLength, stockDefinition, stockLength
getImplementedConnections, getItemDefinition, getReferencingDeviceRelshps, getRelatedSingleDevices, getRelatingSingleDevice, manuallyDelete, nxEquivalent, partName, partNumber, setNxEquivalent, setPartName, setPartNumber
guid, setGuid
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
deleteCharacterstics, getCharacteristics, getDestinationCharacteristics, getIntegerCharacteristic, getRealCharacteristic, getStringCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic2, setCharacteristic2, setCharacteristic2, setCharacteristics, setCharacteristics2
double calculateCutLength() throws NXException, RemoteException
NXException
RemoteException
double cutLength() throws NXException, RemoteException
NXException
RemoteException
void setCutLength(double cutLength) throws NXException, RemoteException
cutLength
- NXException
RemoteException
String colorName() throws NXException, RemoteException
NXException
RemoteException
void setColorName(String colorName) throws NXException, RemoteException
colorName
- NXException
RemoteException
int nxColorValue() throws NXException, RemoteException
NXException
RemoteException
void setNxColorValue(int nxColorValue) throws NXException, RemoteException
nxColorValue
- NXException
RemoteException
HarnessDefinition findNearestHarnessDefinition() throws NXException, RemoteException
HarnessDefinition
encountered up the parent-child hierarchy.
NXException
RemoteException
CableDefinition findTopmostCableDefinition() throws NXException, RemoteException
CableDefinition
encountered up the parent-child hierarchy.
NXException
RemoteException
ConnectorDevice findFromConnector() throws NXException, RemoteException
NXException
RemoteException
ConnectorDevice findToConnector() throws NXException, RemoteException
NXException
RemoteException
HarnessDevice findNearestHarnessDevice() throws NXException, RemoteException
HarnessDevice
encountered up the parent-child hierarchy.
NXException
RemoteException
Connection findImplementedConnection() throws NXException, RemoteException
Connection
implemented by this device.
NXException
RemoteException
boolean hasIntermediateComponents() throws NXException, RemoteException
NXException
RemoteException
ConnectorDevice[] getIntermediateComponents() throws NXException, RemoteException
NXException
RemoteException
LogicalTerminal[] getIntermediateTerminals() throws NXException, RemoteException
NXException
RemoteException
void manuallyRoute(ElectricalStockDevice.RouteLevel routeLevel, ISegment[] segments) throws NXException, RemoteException
ElectricalStockDevice
.
on given ISegment
. The input segments should form a continuous
path between two ConnectorDevice
objects.
routeLevel
- Routing type.segments
- NXException
RemoteException
void changeHarness(HarnessDevice harnessDevice) throws NXException, RemoteException
harnessDevice
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.