public interface DrawingSheetCollection extends TaggedObjectCollection
Part
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
DrawingSheet |
currentDrawingSheet()
Returns the currently opened drawing sheet.
|
DrawingSheetBuilder |
drawingSheetBuilder(DrawingSheet sheet)
Deprecated.
Deprecated in NX12.0.0. Use
DraftingDrawingSheetCollection.createDraftingDrawingSheetBuilder(nxopen.drawings.DraftingDrawingSheet) instead.
|
DrawingSheet |
findObject(String journalIdentifier)
Deprecated.
Deprecated in NX12.0.0. Use
DraftingDrawingSheetCollection.findObject(java.lang.String) instead.
|
DrawingSheet |
insertSheet(String drawingName,
DrawingSheet.StandardSheetSize sheetSize,
double numerator,
double denominator,
DrawingSheet.ProjectionAngleType projectionAngle)
Deprecated.
|
DrawingSheet |
insertSheet(String drawingName,
DrawingSheet.Unit drawingUnits,
double width,
double height,
double numerator,
double denominator,
DrawingSheet.ProjectionAngleType projectionAngle)
Deprecated.
|
void |
refreshCurrentSheet()
Refresh the current Sheet
License requirements: drafting ("DRAFTING") . |
SheetTemplateManager |
sheetTemplates()
Returns the Sheet Template Manager for part .
|
_find_next, iterator
SheetTemplateManager sheetTemplates() throws RemoteException
RemoteException
DrawingSheet currentDrawingSheet() throws NXException, RemoteException
NXException
RemoteException
DrawingSheet insertSheet(String drawingName, DrawingSheet.Unit drawingUnits, double width, double height, double numerator, double denominator, DrawingSheet.ProjectionAngleType projectionAngle) throws NXException, RemoteException
DraftingDrawingSheetCollection.insertSheet(java.lang.String, nxopen.drawings.DrawingSheet.Unit, double, double, double, double, nxopen.drawings.DrawingSheet.ProjectionAngleType)
instead.
drawingName
- Drawing namedrawingUnits
- Unit of sheet sizewidth
- Width of drawingheight
- Height of drawingnumerator
- Numerator of the scale of drawingdenominator
- Denominator of the scale of drawingprojectionAngle
- Projection angle
NXException
RemoteException
DrawingSheet insertSheet(String drawingName, DrawingSheet.StandardSheetSize sheetSize, double numerator, double denominator, DrawingSheet.ProjectionAngleType projectionAngle) throws NXException, RemoteException
DraftingDrawingSheetCollection.insertSheet(java.lang.String, nxopen.drawings.DrawingSheet.Unit, double, double, double, double, nxopen.drawings.DrawingSheet.ProjectionAngleType)
instead.
drawingName
- Drawing namesheetSize
- Sheet Sizenumerator
- Numerator of the scale of drawingdenominator
- Denominator of the scale of drawingprojectionAngle
- Projection angle
NXException
RemoteException
DrawingSheet findObject(String journalIdentifier) throws NXException, RemoteException
DraftingDrawingSheetCollection.findObject(java.lang.String)
instead.
DrawingSheet
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Identifier of the drawing sheet you wantNXException
RemoteException
DrawingSheetBuilder drawingSheetBuilder(DrawingSheet sheet) throws NXException, RemoteException
DraftingDrawingSheetCollection.createDraftingDrawingSheetBuilder(nxopen.drawings.DraftingDrawingSheet)
instead.
sheet
- the drawing sheetNXException
RemoteException
void refreshCurrentSheet() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.