public interface Annotation extends DisplayableObject
Update.doUpdate(int)
(). Modifier and Type | Interface and Description |
---|---|
static class |
Annotation.AssociativeOriginData
Describes the geometry that an annotation's origin
is associated with
|
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Point3d |
annotationOrigin()
Returns the origin (location) of the annotation.
|
Xform |
annotationPlane()
Returns the annotation plane.
|
Annotation.AssociativeOriginData |
getAssociativeOrigin()
Gets data that specifies the origin's associativity
License requirements: None. |
Associativity |
getAssociativity(int associativityIndex)
Returns the associativity at specified index.
|
Xform |
getInferredAnnotationPlane(PmiDefaultPlane jaDefaultPlane)
Returns the inferred annotation plane
License requirements: None. |
LetteringPreferences |
getLetteringPreferences()
Returns the lettering preferences for the annotation
License requirements: None. |
LineAndArrowPreferences |
getLineAndArrowPreferences()
Returns the line and arrow preferences for the annotation
License requirements: None. |
SymbolPreferences |
getSymbolPreferences()
Returns the symbol preferences for the annotation
License requirements: None. |
View[] |
getViews()
Returns the views that the PMI display instance object is displayed in
NOTE: This method is only valid for PMI display instance objects.
|
boolean |
hasAssociativeOrigin()
Returns a flag indicating whether the origin is associative
License requirements: None. |
void |
insertIntoStack(Annotation stack,
StackAlignmentPosition position)
Inserts the annotation into a stack.
|
boolean |
isRetained()
Returns a flag indicating whether the annotation is retained
License requirements: None. |
LeaderOrientation |
leaderOrientation()
Returns the leader orientation for the annotation.
|
int |
numberOfAssociativities()
Returns the number of associativities for the annotation.
|
boolean |
parallelToScreen()
Returns the PMI parallel to screen setting
License requirements: None. |
void |
removeFromStack()
Removes the annotation from a stack.
|
void |
setAnnotationOrigin(Point3d origin)
Sets the origin (location) of the annotation.
|
void |
setAnnotationPlane(Xform annotationPlane)
Sets the annotation plane.
|
void |
setAssociativeOrigin(Annotation.AssociativeOriginData assocOrigin,
Point3d origin)
Associates the annotation's origin to the specified geometry.
|
void |
setAssociativity(int associativityIndex,
Associativity associativity)
Sets the associativity at specified index.The index starts from 1, and is less than or equal
to the return value from
numberOfAssociativities() . |
void |
setLeaderOrientation(LeaderOrientation leaderOrientation)
Sets the leader orientation for the annotation.
|
void |
setLetteringPreferences(LetteringPreferences letteringPrefs)
Sets the lettering preferences for the annotation.
|
void |
setLineAndArrowPreferences(LineAndArrowPreferences lineArrowPrefs)
Sets the line and arrow preferences for the annotation.
|
void |
setParallelToScreen(boolean parallelToScreen)
Sets the PMI parallel to screen setting
License requirements: geometric_tol ("GDT") . |
void |
setSymbolPreferences(SymbolPreferences symbolPrefs)
Sets the symbol preferences for the annotation.
|
void |
setViews(View[] modelViews)
Sets the views that the PMI display instance object is displayed in.
|
boolean |
suppressed()
Returns the flag indicating whether the annotation is suppressed
License requirements: None. |
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
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
void setAnnotationOrigin(Point3d origin) throws NXException, RemoteException
origin
- the new locationNXException
RemoteException
Point3d annotationOrigin() throws NXException, RemoteException
NXException
RemoteException
boolean hasAssociativeOrigin() throws NXException, RemoteException
NXException
RemoteException
Annotation.AssociativeOriginData getAssociativeOrigin() throws NXException, RemoteException
NXException
RemoteException
void setAssociativeOrigin(Annotation.AssociativeOriginData assocOrigin, Point3d origin) throws NXException, RemoteException
assocOrigin
- associativity dataorigin
- coordinates of the originNXException
RemoteException
LetteringPreferences getLetteringPreferences() throws NXException, RemoteException
NXException
RemoteException
void setLetteringPreferences(LetteringPreferences letteringPrefs) throws NXException, RemoteException
letteringPrefs
- NXException
RemoteException
LineAndArrowPreferences getLineAndArrowPreferences() throws NXException, RemoteException
NXException
RemoteException
void setLineAndArrowPreferences(LineAndArrowPreferences lineArrowPrefs) throws NXException, RemoteException
lineArrowPrefs
- NXException
RemoteException
SymbolPreferences getSymbolPreferences() throws NXException, RemoteException
NXException
RemoteException
void setSymbolPreferences(SymbolPreferences symbolPrefs) throws NXException, RemoteException
symbolPrefs
- NXException
RemoteException
void setLeaderOrientation(LeaderOrientation leaderOrientation) throws NXException, RemoteException
leaderOrientation
- NXException
RemoteException
LeaderOrientation leaderOrientation() throws NXException, RemoteException
NXException
RemoteException
boolean isRetained() throws NXException, RemoteException
NXException
RemoteException
Xform annotationPlane() throws NXException, RemoteException
NXException
RemoteException
void setAnnotationPlane(Xform annotationPlane) throws NXException, RemoteException
annotationPlane
- NXException
RemoteException
int numberOfAssociativities() throws NXException, RemoteException
NXException
RemoteException
Associativity getAssociativity(int associativityIndex) throws NXException, RemoteException
numberOfAssociativities()
.
associativityIndex
- Associativity indexNXException
RemoteException
void setAssociativity(int associativityIndex, Associativity associativity) throws NXException, RemoteException
numberOfAssociativities()
.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
associativityIndex
- Associativity indexassociativity
- Associativity objectNXException
RemoteException
Xform getInferredAnnotationPlane(PmiDefaultPlane jaDefaultPlane) throws NXException, RemoteException
jaDefaultPlane
- NXException
RemoteException
View[] getViews() throws NXException, RemoteException
NXException
RemoteException
void setViews(View[] modelViews) throws NXException, RemoteException
modelViews
- List of new views to display PMI display instance object inNXException
RemoteException
void insertIntoStack(Annotation stack, StackAlignmentPosition position) throws NXException, RemoteException
stack
- Annotation in the stackposition
- Alignment positionNXException
RemoteException
boolean parallelToScreen() throws NXException, RemoteException
NXException
RemoteException
void setParallelToScreen(boolean parallelToScreen) throws NXException, RemoteException
parallelToScreen
- Parallel to Screen SettingNXException
RemoteException
void removeFromStack() throws NXException, RemoteException
NXException
RemoteException
boolean suppressed() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.