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)
Create a drawing Sheet builder
License requirements: drafting ("DRAFTING") . |
DrawingSheet |
findObject(String journalIdentifier)
Finds the
DrawingSheet with the given identifier as recorded in a journal. |
DrawingSheet |
insertSheet(String drawingName,
DrawingSheet.StandardSheetSize sheetSize,
double numerator,
double denominator,
DrawingSheet.ProjectionAngleType projectionAngle)
Inserts a sheet into a part.
|
DrawingSheet |
insertSheet(String drawingName,
DrawingSheet.Unit drawingUnits,
double width,
double height,
double numerator,
double denominator,
DrawingSheet.ProjectionAngleType projectionAngle)
Inserts a sheet into a part.
|
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
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 angleNXException
RemoteException
DrawingSheet insertSheet(String drawingName, DrawingSheet.StandardSheetSize sheetSize, double numerator, double denominator, DrawingSheet.ProjectionAngleType projectionAngle) throws NXException, RemoteException
drawingName
- Drawing namesheetSize
- Sheet Sizenumerator
- Numerator of the scale of drawingdenominator
- Denominator of the scale of drawingprojectionAngle
- Projection angleNXException
RemoteException
DrawingSheet findObject(String journalIdentifier) throws NXException, RemoteException
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
sheet
- the drawing sheetNXException
RemoteException
void refreshCurrentSheet() throws NXException, RemoteException
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.