public interface DrawingSheetBuilder extends TaggedObject, IComponentBuilder
DrawingSheetBuilder
.
This class is used to define a drawing sheet in DrawingPartBuilder
, in this case user can define
the drawing sheet manually as he want.
Originally, we use a SectionDrawingBuilder
class and a list of SectionViewBuilder
and the command will calculate the arrangement (like how many drawing parts/draw sheets need to create and which view in which sheet )
automatically. User can't define which view in which sheet.
In this project we make user has ability to define the arrangement in a tree like Drawing Part1 |- Drawing Sheet1 |-View1 |-View2 |- Drawing Sheet2 |- View3 |- View4 Drawing Part2 | - Drawing Sheet1 |- View5 |- View6So we add
DrawingPartBuilder
and DrawingSheetBuilder
between them and make them has structure as below:
SectionDrawingBuilder
DrawingPartBuilder
DrawingSheetBuilder
SectionViewBuilder
DrawingPartBuilder.createDrawingSheetBuilder(nxopen.drawings.DrawingSheet)
Modifier and Type | Interface and Description |
---|---|
static class |
DrawingSheetBuilder.LayoutOptions
Settings to indicate the view layout type by row and column in hroizontal or vertical order.
|
Modifier and Type | Method and Description |
---|---|
int |
columnCount()
Returns the number of column into which the views should be arranged on the drawing sheet.
|
DrawingTemplateBuilder |
drawingTemplate()
Returns the drawing template builder, which represents a
DrawingTemplateBuilder . |
DrawingSheetBuilder.LayoutOptions |
layout()
Returns the view layout option.
|
int |
rowCount()
Returns the number of rows into which the views should be arranged on the drawing sheet.
|
void |
setColumnCount(int columnCount)
License requirements: nx_ship_drafting ("Ship Drafting") . |
void |
setLayout(DrawingSheetBuilder.LayoutOptions layout)
License requirements: nx_ship_drafting ("Ship Drafting") . |
void |
setRowCount(int rowCount)
License requirements: nx_ship_drafting ("Ship Drafting") . |
void |
setSheetName(String sheetName)
License requirements: nx_ship_drafting ("Ship Drafting") . |
void |
setSheetScale(String sheetScale)
License requirements: nx_ship_drafting ("Ship Drafting") . |
String |
sheetName()
Returns the drawing sheet name into which the views should be arranged.
|
String |
sheetScale()
Returns the sheet scale
License requirements: None. |
SectionViewBuilderList |
viewList()
Returns the section view list
License requirements: None. |
printTestData, printTestData, tag, tagValue
validate
String sheetName() throws NXException, RemoteException
NXException
RemoteException
void setSheetName(String sheetName) throws NXException, RemoteException
sheetName
- NXException
RemoteException
int rowCount() throws NXException, RemoteException
NXException
RemoteException
void setRowCount(int rowCount) throws NXException, RemoteException
rowCount
- NXException
RemoteException
int columnCount() throws NXException, RemoteException
NXException
RemoteException
void setColumnCount(int columnCount) throws NXException, RemoteException
columnCount
- NXException
RemoteException
DrawingSheetBuilder.LayoutOptions layout() throws NXException, RemoteException
NXException
RemoteException
void setLayout(DrawingSheetBuilder.LayoutOptions layout) throws NXException, RemoteException
layout
- NXException
RemoteException
String sheetScale() throws NXException, RemoteException
NXException
RemoteException
void setSheetScale(String sheetScale) throws NXException, RemoteException
sheetScale
- NXException
RemoteException
DrawingTemplateBuilder drawingTemplate() throws NXException, RemoteException
DrawingTemplateBuilder
.
NXException
RemoteException
SectionViewBuilderList viewList() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.