public interface StockData extends NXObject, ICharacteristic
StockData
contains the various profiles, characteristic information,
Anchor
and other attributes that define Stock
objects. Each Stock
has exactly one StockData
associated with it. All CrossSection
and Anchor
objects used in a Stock
object must come from the
StockData
associated with that Stock
object.
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Anchor[] |
getAnchors()
|
StockData[] |
getBundledStockDatas()
Returns all of the
StockData that were used to build this object
by the bundling algorithm. |
CrossSection[] |
getCrossSections()
Gets the list of
CrossSection objects associated with this
StockData . |
StockDataType |
getIsBundled()
Returns whether or not the
StockData is used in
the bundling of wires or not. |
Anchor |
getNamedAnchor(String anchorName)
|
Stock[] |
getStocks()
|
CrossSection |
getStyledCross(StockStyle stockStyle)
Returns the
CrossSection which is part of the StockData , given the cross section style. |
void |
setAnchors(Anchor[] anchors)
|
void |
setCrossSections(CrossSection[] crossSections)
Sets the list of
CrossSection objects associated with this
StockData . |
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
deleteCharacterstics, getCharacteristics, getDestinationCharacteristics, getIntegerCharacteristic, getRealCharacteristic, getStringCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic2, setCharacteristic2, setCharacteristic2, setCharacteristics, setCharacteristics2
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
CrossSection[] getCrossSections() throws NXException, RemoteException
CrossSection
objects associated with this
StockData
. There should be no more than one
CrossSection
of any particular StockStyle
(and no CrossSection
with a style of
StockStyle.NONE
).
CrossSection
objects.NXException
RemoteException
void setCrossSections(CrossSection[] crossSections) throws NXException, RemoteException
CrossSection
objects associated with this
StockData
. There should be no more than one CrossSection
of any particular StockStyle
(and no CrossSection
with a style of StockStyle.NONE
).
crossSections
- The list of CrossSection
objects.NXException
RemoteException
Anchor[] getAnchors() throws NXException, RemoteException
Anchor
objects associated with this
StockData
. There should be no more than one Anchor
with the same name.
Anchor
objects.NXException
RemoteException
void setAnchors(Anchor[] anchors) throws NXException, RemoteException
Anchor
objects associated with this
StockData
. There should be no more than one Anchor
with the same name.
anchors
- The list of Anchor
objects.NXException
RemoteException
StockDataType getIsBundled() throws NXException, RemoteException
StockData
is used in
the bundling of wires or not.
NXException
RemoteException
Stock[] getStocks() throws NXException, RemoteException
Stock
objects that use this
StockData
object.
NXException
RemoteException
StockData[] getBundledStockDatas() throws NXException, RemoteException
StockData
that were used to build this object
by the bundling algorithm. Only returns valid output if
getIsBundled()
returns
StockDataType.BUNDLED
.
NXException
RemoteException
Anchor getNamedAnchor(String anchorName) throws NXException, RemoteException
Anchor
which is part of the StockData
, given the anchors name.
anchorName
- NXException
RemoteException
CrossSection getStyledCross(StockStyle stockStyle) throws NXException, RemoteException
CrossSection
which is part of the StockData
, given the cross section style.
stockStyle
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.