public interface AnnotationManager extends Remote
Part
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationManager.LoadSymbolFontFromSbfFileData
This class holds the data returned from
loadSymbolFontFromSbfFile(java.lang.String) |
Modifier and Type | Method and Description |
---|---|
nxopen.annotations.BendTableCollection |
bendTables()
Bend Table collection .
|
BusinessModifierCollection |
businessModifiers()
BusinessModifier collection .
|
CenterlineCollection |
centerlines()
Centerlines collection .
|
Gdt |
convertToGdt(SimpleDraftingAid draftingAid,
boolean keepDraftingAid,
LeaderBundle leader)
Converts a simple drafting aid into a GDT by creating a new GDT
using the text, origin, and preferences from the drafting aid.
|
SimpleDraftingAid |
convertToIdSymbol(SimpleDraftingAid draftingAid,
boolean keepDraftingAid,
LeaderBundle leader)
Converts a simple drafting aid into an ID symbol by creating a new
ID symbol using the text, origin, and preferences from the drafting aid.
|
Label |
convertToLabel(SimpleDraftingAid draftingAid,
boolean keepDraftingAid,
LeaderBundle leader)
Converts a simple drafting aid into a label by creating a new label
using the text, origin, and preferences from the drafting aid.
|
LineWeld |
convertToLineWeld(LineWeld draftingAid,
boolean keepDraftingAid,
LeaderBundle leader)
Converts a simple drafting aid into a line weld by creating a new line weld
using the text, origin, and preferences from the drafting aid.
|
Note |
convertToNote(SimpleDraftingAid draftingAid,
boolean keepDraftingAid)
Converts a simple drafting aid into a note by creating a new note
using the text, origin, and preferences from the drafting aid.
|
AssociateDimensionBuilder |
createAssociateDimensionBuilder(Dimension dimension)
Creates the Dimension Associativity builder
License requirements: None. |
AssociativeText |
createAssociativeText()
Creates a
AssociativeText . |
AssociativityBuilder |
createAssociativityBuilder(Dimension dimension,
int assocIndex)
Creates the Dimension Associativity builder
License requirements: None. |
ComponentData |
createComponentData(Annotation annotationTag)
Creates a
ComponentData for an annotation. |
CompoundDatumReferenceBuilder |
createCompoundDatumReferenceBuilder()
Creates a new compound datum dialog
License requirements: geometric_tol ("GDT") . |
DatumReferenceBuilder |
createDatumReferenceBuilder(FcfDatumReference datumReference)
Creates a
DatumReferenceBuilder
License requirements: None. |
DraftingDatumTargetBuilder |
createDraftingDatumTargetBuilder(DraftingDatumTarget datumTarget)
Creates a
DraftingDatumTargetBuilder
License requirements: None. |
DraftingFeatureControlFrameBuilder |
createDraftingFeatureControlFrameBuilder(Gdt fcf)
Creates a
DraftingFeatureControlFrameBuilder
License requirements: None. |
DraftingNoteBuilder |
createDraftingNoteBuilder(SimpleDraftingAid annotation)
Creates a
DraftingNoteBuilder
License requirements: None. |
EditLeaderBuilder |
createEditLeaderBuilder(DisplayableObject tableTag)
|
DatumReferenceBuilder |
createEmptyDatumReferenceBuilder()
Creates a new empty datum reference builder
License requirements: None. |
FeatureControlFrameDataBuilder |
createFeatureControlFrameDataBuilder(FeatureControlFrameData frame)
Creates a
FeatureControlFrameDataBuilder
License requirements: None. |
Gdt |
createGdt(String[] textLines,
Point3d origin,
LetteringPreferences letteringPreferences,
UserSymbolPreferences userSymbolPreferences,
LineAndArrowPreferences lineArrowPreferences,
boolean alwaysVertical,
LeaderBundle leader)
Creates a GDT symbol
License requirements: drafting ("DRAFTING") . |
Label |
createLabel(String[] textLines,
Point3d origin,
LetteringPreferences letteringPreferences,
UserSymbolPreferences userSymbolPreferences,
LineAndArrowPreferences lineArrowPreferences,
LeaderBundle leader)
Creates a label.
|
LeaderData |
createLeaderData()
Creates a
LeaderData
License requirements: None. |
Note |
createNote(String[] textLines,
Point3d origin,
AxisOrientation orientation,
LetteringPreferences letteringPreferences,
UserSymbolPreferences userSymbolPreferences)
Creates a note
License requirements: drafting ("DRAFTING") . |
PmiDatumTargetBuilder |
createPmiDatumTargetBuilder(DatumTarget datumTarget)
Creates a
PmiDatumTargetBuilder
License requirements: None. |
PmiFeatureControlFrameBuilder |
createPmiFeatureControlFrameBuilder(Fcf fcf)
Creates a
PmiFeatureControlFrameBuilder
License requirements: None. |
PmiNoteBuilder |
createPmiNoteBuilder(SimpleDraftingAid annotation)
Creates a
PmiNoteBuilder
License requirements: None. |
PmiTrackingPropertiesBuilder |
createPmiTrackingPropertiesBuilder()
Creates a
PmiTrackingPropertiesBuilder . |
QueryPmiBuilder |
createQueryPmiBuilder()
Creates the Query PMI builder
License requirements: geometric_tol ("GDT") . |
ModelingView |
createQueryView(Annotation[] pmiSymbols)
Creates a model view displaying the given PMI symbols.
|
TextWithEditControlsBuilder |
createTextWithEditControlsBuilder(Annotation annotation)
Creates a
TextWithEditControlsBuilder
License requirements: None. |
String |
currentSbfFile()
Returns the symbol font definition file.
|
CustomSymbolCollection |
customSymbols()
CustomSymbol collection .
|
GdtDatumCollection |
datums()
Datum collection .
|
DatumTargetCollection |
datumTargets()
DatumTarget collection .
|
DimensionSetCollection |
dimensionSets()
DimensionSet collection .
|
DraftingDatumTargetCollection |
draftingDatumTargets()
DraftingDatumTarget collection .
|
DraftingImageCollection |
draftingImages()
Drafting Image collection .
|
DraftingSurfaceFinishCollection |
draftingSurfaceFinishSymbols()
Drafting surface finish collection .
|
FcfCollection |
fcfs()
Fcf collection .
|
FrameBarCollection |
frameBars()
Frame bar collection .
|
Xform |
getDefaultAnnotationPlane(PmiDefaultPlane jaDefaultPlane)
Returns the default annotation plane for the specified part
License requirements: None. |
String |
getStandardSymbolTextFont()
Returns the font to use for displaying symbols with standard fonts.
|
HatchCollection |
hatches()
Hatch collection .
|
nxopen.annotations.HoleTableCollection |
holeTables()
Hole Table collection .
|
IdSymbolCollection |
idSymbols()
IdSymbol collection .
|
IntersectionSymbolCollection |
intersectionSymbols()
IntersectionSymbol collection .
|
AnnotationManager.LoadSymbolFontFromSbfFileData |
loadSymbolFontFromSbfFile(String symbolName)
Loads a symbol font from the current symbol font definition file
License requirements: None. |
void |
makePmi(Annotation annotation)
Flag the annotation as PMI object.
|
AppendedText |
newAppendedText()
Creates a new AppendedText object
License requirements: None. |
Associativity |
newAssociativity()
Creates a new Associativity object
License requirements: None. |
DatumReference |
newDatumReference()
Creates a new DatumReference object
License requirements: None. |
DimensionData |
newDimensionData()
Creates new DimensionData object
License requirements: None. |
FcfFrame |
newFcfFrame()
Creates a new FcfFrame object
License requirements: None. |
FcfFrameData |
newFcfFrameData()
Creates a new Fcf Frame Data object
License requirements: None. |
LeaderBundle |
newLeaderBundle()
Constructs a new LeaderBundle object
License requirements: None. |
MasterCustomSymbolData |
newMasterCustomSymbolData()
Deprecated.
Deprecated in NX9.0.0. Use
MasterSymbolBuilder instead.
|
PmiData |
newPmiData()
Creates a new PmiData object
License requirements: None. |
UserSymbolPreferences |
newUserSymbolPreferences(UserSymbolPreferences.SizeType type,
double lengthOrScale,
double heightOrAspectRatio)
Constructs a new UserSymbolPreferences object
License requirements: None. |
OffsetCenterPointCollection |
offsetCenterPoints()
OffsetCenterPoint collection .
|
OrdinateMarginCollection |
ordinateMargins()
OrdinateMargin collection .
|
PartSymbolFolderCollection |
partSymbolFolders()
Part Symbol Folder collection .
|
PmiFilterCollection |
pmiFilters()
PmiFilter collection .
|
AnnotationPreferences |
preferences()
Global annotation preferences .
|
Annotation[] |
queryPmiFromGeometry(DisplayableObject[] geom)
Finds all PMI symbols that reference the given geometry as an
associated object.
|
String[] |
readAllSymbolNamesFromSbfFile()
Reads the names of all symbol fonts in the current symbol font definition file
License requirements: None. |
void |
removePmi(Annotation annotation)
Remove PMI flag from annotation.
|
void |
saveUserSymbolPart(MasterCustomSymbolData symData)
Deprecated.
Deprecated in NX7.5.2. Use
MasterSymbolBuilder instead.
|
void |
setCurrentSbfFile(String fileName)
Sets the symbol font definition file.
|
void |
setMasterSymbolNameInQaf()
This method writes master custom symbol name
to the predefined quick access folder and saves the part.
|
void |
setStandardSymbolTextFont(String symbolTextFontName)
License requirements: geometric_tol ("GDT") OR drafting ("DRAFTING") . |
void |
setWeldStandard(WeldStandard standard)
Sets the weld standard for the part file.
|
SymbolFileCollection |
symbolFiles()
Library Symbol collection .
|
nxopen.annotations.TableCollection |
tables()
Table collection .
|
TableSectionCollection |
tableSections()
Table section collection .
|
TargetPointCollection |
targetPoints()
TargetPoint collection .
|
WeldCollection |
welds()
Weld collection .
|
WeldStandard |
weldStandard()
Returns the weld standard for the part file.
|
AnnotationPreferences preferences() throws RemoteException
RemoteException
PmiFilterCollection pmiFilters() throws RemoteException
RemoteException
FcfCollection fcfs() throws RemoteException
RemoteException
GdtDatumCollection datums() throws RemoteException
RemoteException
DatumTargetCollection datumTargets() throws RemoteException
RemoteException
DraftingDatumTargetCollection draftingDatumTargets() throws RemoteException
RemoteException
WeldCollection welds() throws RemoteException
RemoteException
CustomSymbolCollection customSymbols() throws RemoteException
RemoteException
IdSymbolCollection idSymbols() throws RemoteException
RemoteException
BusinessModifierCollection businessModifiers() throws RemoteException
RemoteException
OrdinateMarginCollection ordinateMargins() throws RemoteException
RemoteException
DimensionSetCollection dimensionSets() throws RemoteException
RemoteException
CenterlineCollection centerlines() throws RemoteException
RemoteException
IntersectionSymbolCollection intersectionSymbols() throws RemoteException
RemoteException
TargetPointCollection targetPoints() throws RemoteException
RemoteException
OffsetCenterPointCollection offsetCenterPoints() throws RemoteException
RemoteException
HatchCollection hatches() throws RemoteException
RemoteException
DraftingSurfaceFinishCollection draftingSurfaceFinishSymbols() throws RemoteException
RemoteException
PartSymbolFolderCollection partSymbolFolders() throws RemoteException
RemoteException
TableSectionCollection tableSections() throws RemoteException
RemoteException
nxopen.annotations.TableCollection tables() throws RemoteException
RemoteException
nxopen.annotations.HoleTableCollection holeTables() throws RemoteException
RemoteException
FrameBarCollection frameBars() throws RemoteException
RemoteException
SymbolFileCollection symbolFiles() throws RemoteException
RemoteException
DraftingImageCollection draftingImages() throws RemoteException
RemoteException
nxopen.annotations.BendTableCollection bendTables() throws RemoteException
RemoteException
Note createNote(String[] textLines, Point3d origin, AxisOrientation orientation, LetteringPreferences letteringPreferences, UserSymbolPreferences userSymbolPreferences) throws NXException, RemoteException
textLines
- text for the noteorigin
- origin for the noteorientation
- determines whether the note will be horizontal or verticalletteringPreferences
- lettering preferences. If null, the global lettering preferences will be useduserSymbolPreferences
- user symbol preferences. If null, the scale and aspect ratio will be set to 1.0NXException
RemoteException
LineWeld convertToLineWeld(LineWeld draftingAid, boolean keepDraftingAid, LeaderBundle leader) throws NXException, RemoteException
draftingAid
- the drafting aid to convertkeepDraftingAid
- whether to keep the drafting aid. If false,
the drafting aid will be deletedleader
- specifies the leaders for the new label.
The leader type must be Plain, Around, PlainAligned, or AroundAligned.
To use any other type of leader, you must create a GDT instead.NXException
RemoteException
Note convertToNote(SimpleDraftingAid draftingAid, boolean keepDraftingAid) throws NXException, RemoteException
draftingAid
- the drafting aid to convertkeepDraftingAid
- whether to keep the drafting aid. If false,
the drafting aid will be deletedNXException
RemoteException
Label convertToLabel(SimpleDraftingAid draftingAid, boolean keepDraftingAid, LeaderBundle leader) throws NXException, RemoteException
draftingAid
- the drafting aid to convertkeepDraftingAid
- whether to keep the drafting aid. If false,
the drafting aid will be deletedleader
- specifies the leaders for the new label.
The leader type must be Plain, Around, PlainAligned, or AroundAligned.
To use any other type of leader, you must create a GDT instead.NXException
RemoteException
Gdt convertToGdt(SimpleDraftingAid draftingAid, boolean keepDraftingAid, LeaderBundle leader) throws NXException, RemoteException
draftingAid
- the drafting aid to convertkeepDraftingAid
- whether to keep the drafting aid. If false,
the drafting aid will be deletedleader
- specifies the leaders for the new GDTNXException
RemoteException
SimpleDraftingAid convertToIdSymbol(SimpleDraftingAid draftingAid, boolean keepDraftingAid, LeaderBundle leader) throws NXException, RemoteException
draftingAid
- the drafting aid to convertkeepDraftingAid
- whether to keep the drafting aid. If false,
the drafting aid will be deletedleader
- specifies the leaders for the new ID SymbolNXException
RemoteException
Label createLabel(String[] textLines, Point3d origin, LetteringPreferences letteringPreferences, UserSymbolPreferences userSymbolPreferences, LineAndArrowPreferences lineArrowPreferences, LeaderBundle leader) throws NXException, RemoteException
textLines
- text for the labelorigin
- origin for the labelletteringPreferences
- lettering preferences. If null, the global lettering preferences will be useduserSymbolPreferences
- user symbol preferences. If null, the scale and aspect ratio will be set to 1.0lineArrowPreferences
- line and arrow preferences. If null, the global line and arrow preferences will be usedleader
- specifies the leaders for the labelNXException
RemoteException
Gdt createGdt(String[] textLines, Point3d origin, LetteringPreferences letteringPreferences, UserSymbolPreferences userSymbolPreferences, LineAndArrowPreferences lineArrowPreferences, boolean alwaysVertical, LeaderBundle leader) throws NXException, RemoteException
textLines
- text for the GDTorigin
- origin for the GDTletteringPreferences
- lettering preferences. If null, the global lettering preferences will be useduserSymbolPreferences
- user symbol preferences. If null, the scale and aspect ratio will be set to 1.0lineArrowPreferences
- line and arrow preferences. If null, the global line and arrow preferences will be usedalwaysVertical
- leader
- specifies the leaders for the GDT.
The following leader types are not valid for GDT symbols:
PlainNostub and AlignedNostubNXException
RemoteException
UserSymbolPreferences newUserSymbolPreferences(UserSymbolPreferences.SizeType type, double lengthOrScale, double heightOrAspectRatio) throws NXException, RemoteException
type
- Whether to use length and height or scale and aspect ratiolengthOrScale
- Length or scaleheightOrAspectRatio
- Height or aspect ratioNXException
RemoteException
LeaderBundle newLeaderBundle() throws NXException, RemoteException
NXException
RemoteException
void setCurrentSbfFile(String fileName) throws NXException, RemoteException
loadSymbolFontFromSbfFile(java.lang.String)
will read from this file
fileName
- NXException
RemoteException
String currentSbfFile() throws NXException, RemoteException
loadSymbolFontFromSbfFile(java.lang.String)
will read from this file
NXException
RemoteException
AnnotationManager.LoadSymbolFontFromSbfFileData loadSymbolFontFromSbfFile(String symbolName) throws NXException, RemoteException
symbolName
- name of the symbol NXException
RemoteException
String[] readAllSymbolNamesFromSbfFile() throws NXException, RemoteException
NXException
RemoteException
void saveUserSymbolPart(MasterCustomSymbolData symData) throws NXException, RemoteException
MasterSymbolBuilder
instead.
MasterSymbolBuilder
methods instead of this method.
symData
- New master part data
NXException
RemoteException
PmiData newPmiData() throws NXException, RemoteException
NXException
RemoteException
AppendedText newAppendedText() throws NXException, RemoteException
NXException
RemoteException
DimensionData newDimensionData() throws NXException, RemoteException
NXException
RemoteException
Associativity newAssociativity() throws NXException, RemoteException
NXException
RemoteException
FcfFrame newFcfFrame() throws NXException, RemoteException
NXException
RemoteException
DatumReference newDatumReference() throws NXException, RemoteException
NXException
RemoteException
MasterCustomSymbolData newMasterCustomSymbolData() throws NXException, RemoteException
MasterSymbolBuilder
instead.
NXException
RemoteException
Xform getDefaultAnnotationPlane(PmiDefaultPlane jaDefaultPlane) throws NXException, RemoteException
jaDefaultPlane
- NXException
RemoteException
QueryPmiBuilder createQueryPmiBuilder() throws NXException, RemoteException
NXException
RemoteException
Annotation[] queryPmiFromGeometry(DisplayableObject[] geom) throws NXException, RemoteException
AssociatedObject
.
geom
- Geometry to be searchedNXException
RemoteException
ModelingView createQueryView(Annotation[] pmiSymbols) throws NXException, RemoteException
Annotations.AnnotationManager#queryPmiFromGeometry
.
pmiSymbols
- List of PMI symbols, ordinarily from a geometry queryNXException
RemoteException
FcfFrameData newFcfFrameData() throws NXException, RemoteException
NXException
RemoteException
AssociativityBuilder createAssociativityBuilder(Dimension dimension, int assocIndex) throws NXException, RemoteException
dimension
- Dimension
to be editedassocIndex
- Associativity indexNXException
RemoteException
AssociateDimensionBuilder createAssociateDimensionBuilder(Dimension dimension) throws NXException, RemoteException
dimension
- Dimension
to be editedNXException
RemoteException
LeaderData createLeaderData() throws NXException, RemoteException
NXException
RemoteException
void makePmi(Annotation annotation) throws NXException, RemoteException
annotation
- nxopen.annotations.Annotation
to be editedNXException
RemoteException
void removePmi(Annotation annotation) throws NXException, RemoteException
annotation
- nxopen.annotations.Annotation
to be editedNXException
RemoteException
DraftingNoteBuilder createDraftingNoteBuilder(SimpleDraftingAid annotation) throws NXException, RemoteException
annotation
- SimpleDraftingAid
to be editedNXException
RemoteException
PmiNoteBuilder createPmiNoteBuilder(SimpleDraftingAid annotation) throws NXException, RemoteException
annotation
- SimpleDraftingAid
to be editedNXException
RemoteException
TextWithEditControlsBuilder createTextWithEditControlsBuilder(Annotation annotation) throws NXException, RemoteException
annotation
- nxopen.annotations.Annotation
to be editedNXException
RemoteException
DraftingFeatureControlFrameBuilder createDraftingFeatureControlFrameBuilder(Gdt fcf) throws NXException, RemoteException
fcf
- the fcf symbol to be edited,
if null, then create an fcf symbolNXException
RemoteException
DraftingDatumTargetBuilder createDraftingDatumTargetBuilder(DraftingDatumTarget datumTarget) throws NXException, RemoteException
datumTarget
- Datum to editNXException
RemoteException
PmiDatumTargetBuilder createPmiDatumTargetBuilder(DatumTarget datumTarget) throws NXException, RemoteException
datumTarget
- Datum to editNXException
RemoteException
PmiFeatureControlFrameBuilder createPmiFeatureControlFrameBuilder(Fcf fcf) throws NXException, RemoteException
fcf
- the fcf symbol to be edited,
if null, then create an fcf symbolNXException
RemoteException
FeatureControlFrameDataBuilder createFeatureControlFrameDataBuilder(FeatureControlFrameData frame) throws NXException, RemoteException
frame
- the fcf symbol to be edited,
if null, then create an fcf symbolNXException
RemoteException
DatumReferenceBuilder createDatumReferenceBuilder(FcfDatumReference datumReference) throws NXException, RemoteException
datumReference
- the datum reference to be edited,
if null, then create an fcf symbolNXException
RemoteException
DatumReferenceBuilder createEmptyDatumReferenceBuilder() throws NXException, RemoteException
NXException
RemoteException
CompoundDatumReferenceBuilder createCompoundDatumReferenceBuilder() throws NXException, RemoteException
NXException
RemoteException
EditLeaderBuilder createEditLeaderBuilder(DisplayableObject tableTag) throws NXException, RemoteException
tableTag
- the table object to editNXException
RemoteException
ComponentData createComponentData(Annotation annotationTag) throws NXException, RemoteException
annotationTag
- the annotation whose component data
will be available with this objectNXException
RemoteException
void setWeldStandard(WeldStandard standard) throws NXException, RemoteException
standard
- Weld standardNXException
RemoteException
WeldStandard weldStandard() throws NXException, RemoteException
NXException
RemoteException
void setMasterSymbolNameInQaf() throws NXException, RemoteException
NXException
RemoteException
AssociativeText createAssociativeText() throws NXException, RemoteException
NXException
RemoteException
String getStandardSymbolTextFont() throws NXException, RemoteException
NXException
RemoteException
void setStandardSymbolTextFont(String symbolTextFontName) throws NXException, RemoteException
symbolTextFontName
- The name of the text font to use for displaying a symbol when using a standard font.NXException
RemoteException
PmiTrackingPropertiesBuilder createPmiTrackingPropertiesBuilder() throws NXException, RemoteException
PmiTrackingPropertiesBuilder
.
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.