public interface CrossSection extends NXObject, ICharacteristic
CrossSection
defines a profile to sweep for Stock
objects.
The profile is a set of curves centered around the origin, and in the XY plane. An offset may be
specified that forms a second profile that consists of curves offset by the specified offset from
the profile curves (which forms a hollow stock body, such as a pipe).
CrossSectionCollection.createCrossSection(nxopen.Curve[], nxopen.Expression, nxopen.Expression, nxopen.routing.StockStyle)
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Curve[] |
getCrossCurves()
Returns the curves that define the profile for the
CrossSection object. |
double |
getMaximumRadius()
Returns the maximum radius of the profile.
|
StockData |
getStockData()
Returns the
StockData that owns this CrossSection . |
Expression |
offset()
Returns the offset expression applied to the profile when generating a Sweep.
|
Expression |
secondOffset()
Returns the offset expression applied to the profile when generating a Sweep.
|
void |
setCrossCurves(Curve[] curves)
Sets the curves that define the profile for the
CrossSection object. |
void |
setOffset(Expression expression)
Sets the offset expression applied to the profile when generating a Sweep.
|
void |
setSecondOffset(Expression secondOffset)
Sets the offset expression applied to the profile when generating a Sweep.
|
void |
setStyle(StockStyle style)
License requirements: routing_base ("Routing Basic") . |
StockStyle |
style()
Returns the style of the profile.
|
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
Curve[] getCrossCurves() throws NXException, RemoteException
CrossSection
object.
NXException
RemoteException
void setCrossCurves(Curve[] curves) throws NXException, RemoteException
CrossSection
object. The
curves must form a single closed loop.
curves
- The curves that define the profile.NXException
RemoteException
Expression offset() throws NXException, RemoteException
CrossSection
. A value of
0.0 or a null expression indicates no offset.
NXException
RemoteException
void setOffset(Expression expression) throws NXException, RemoteException
CrossSection
. A value of
0.0 or a null expression indicates no offset.
expression
- NXException
RemoteException
Expression secondOffset() throws NXException, RemoteException
CrossSection
. A value of
0.0 or a null expression indicates no offset.
NXException
RemoteException
void setSecondOffset(Expression secondOffset) throws NXException, RemoteException
CrossSection
. A value of
0.0 or a null expression indicates no offset.
secondOffset
- NXException
RemoteException
StockStyle style() throws NXException, RemoteException
StockData
for information on styles
StockStyle.NONE
is not a valid
value for a CrossSection
object.NXException
RemoteException
void setStyle(StockStyle style) throws NXException, RemoteException
style
- NXException
RemoteException
StockData getStockData() throws NXException, RemoteException
StockData
that owns this CrossSection
.
StockData
that owns the
CrossSection
object.NXException
RemoteException
double getMaximumRadius() throws NXException, RemoteException
CrossSection
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.